-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Crashing without any error when I'm trying to upload an Image #4097
Comments
Mind showing some code? Show us a snippet of the upload code please. |
Also if you aren't getting crash logs from the emulator, maybe test it on a real device and check logcat |
Thanks for replying. But it's solved by clean building the app. |
|
Believe it or not I just ran into this myself. I don't use storage as a main use case but I'm adding support to the library for the storage emulator and if I pass certain types of junk data in, it would crash native and take the app down in an uncatchable way with this exact exception. |
…reject Previously if you sent undefined in as a URL, or a URL that was unparseable, the native android code would throw IllegalArgumentException, which would crash the app with a native exception. Now those exceptions are caught and bubbled up to the javascript layer correctly as a promise rejection Fixes #4097
…reject Previously if you sent undefined in as a URL, or a URL that was unparseable, the native android code would throw IllegalArgumentException, which would crash the app with a native exception. Now those exceptions are caught and bubbled up to the javascript layer correctly as a promise rejection Fixes #4097
…reject Previously if you sent undefined in as a URL, or a URL that was unparseable, the native android code would throw IllegalArgumentException, which would crash the app with a native exception. Now those exceptions are caught and bubbled up to the javascript layer correctly as a promise rejection Fixes #4097
Issue
App Crashing without any error when I'm trying to upload an Image. I have followed all the tutorials and also the official example provided on react-native-firebase-storage getting started page. But still no luck also I'm getting error of Please use gs:// URL for storage bucket.
Project Files
Javascript
Click To Expand
package.json
:firebase.json
for react-native-firebase v6:# N/A
iOS
Click To Expand
ios/Podfile
:# N/A
AppDelegate.m
:// N/A
Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:android/app/build.gradle
:// N/A
android/settings.gradle
:MainApplication.java
:AndroidManifest.xml
:Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:Firebase
module(s) you're using that has the issue:TypeScript
?React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: