• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zulip / zulip-mobile / 6912
47%

Build:
DEFAULT BRANCH: master
Ran 19 Sep 2018 02:07AM UTC
Jobs 1
Files 363
Run time 28s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
6912

push

travis-ci

gnprice
image-picker: Fix iOS camera flow by waiting for image to be saved.

On iOS, if you use the "camera" icon in the compose menu to try to
take a photo and send it, it doesn't work -- no message actually
gets sent.

Looking with the React Native Remote Debugger, this manifests as a
console warning that `String.prototype.split` was being invoked on an
undefined value in `getFileExtension`.  On investigation, there was no
`fileName` property on the `response` object passed to our callback
`handleImagePickerResponse` by the react-native-image-picker library.

Turns out that as the documentation says:
  https://github.com/react-community/react-native-image-picker#options
there will be a `fileName` only if these two options are set to true.
So, do that.

The first time through the resulting flow is still cumbersome with 3
permissions modals, and doesn't actually work -- but at least every
later time now works, which is progress.  See #2973 for followup.

1001 of 2095 branches covered (47.78%)

Branch coverage included in aggregate %.

1948 of 3795 relevant lines covered (51.33%)

46.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6912.1 (COVERALLS_REPO_TOKEN=4eYQDtWoBJlDz2QkxoQ2UcnmJFcOB7zkv) 19 Sep 2018 02:07AM UTC 0
50.07
Travis Job 6912.1
Source Files on build 6912
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6912
  • 3529c315 on github
  • Prev Build on master (#6909)
  • Next Build on master (#6928)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc