Comments (9)
Just reading up on @madebydavid Firebase crash post. Perhaps it could be something due to this? If i wait for long enough my app eventually does start then after that the app will start normally? I cant actually remove the dependency as it keeps getting re-injected, but what do you think?
from cordova-plugin-firebase.
Hey @robertarnesson I just got it to work.
In platforms/android/project.properties
I removed the line cordova.system.library.6=com.google.firebase:firebase-crash:+
.
Seems like we'l need to wait untill Google releases a fixed version of the GPS before enabling Firebase Crash again
from cordova-plugin-firebase.
I have the same issue on Android 4.4.4
@hisshash indeed what you've suggested fixed the issue for me.
I removed it from the plugin.xml for both iOS and Android for now.
from cordova-plugin-firebase.
what platform? what does the log say. what version were you on before, when it was working?
from cordova-plugin-firebase.
Which version of Android? I began noticing a similar issue today where my cordova app using this plugin would hang after I upgraded to 7.0.
From my logcat:
...
E ActivityManager: ANR in com.myapp.beta
E ActivityManager: PID: 19251
E ActivityManager: Reason: Broadcast of Intent { act=com.google.firebase.INSTANCE_ID_EVENT flg=0x10 cmp=com.myapp.beta/com.google.firebase.iid.FirebaseInstanceIdInternalReceiver (has extras) }
E ActivityManager: Load: 8.07 / 8.52 / 8.37
E ActivityManager: CPU usage from 591963ms to -1ms ago (2016-09-14 22:34:56.967 to 2016-09-14 22:44:48.931):
...
One of the only references I could find was on StackOverflow. Also, this related to Firebase Crash could be of interest.
Maybe unrelated, but my symptoms are similar, just posting incase it's helpful.
from cordova-plugin-firebase.
This is happening on Android 6.0.1 & also 7.0
...
09-15 09:50:27.383 779 795 E ActivityManager: ANR in co.runawaypets.runawaypets
09-15 09:50:27.383 779 795 E ActivityManager: PID: 7013
09-15 09:50:27.383 779 795 E ActivityManager: Reason: Broadcast of Intent { act=com.google.firebase.INSTANCE_ID_EVENT flg=0x10 cmp=co.runawaypets.runawaypets/com.google.firebase.iid.FirebaseInstanceIdInternalReceiver (has extras) }
09-15 09:50:27.383 779 795 E ActivityManager: Load: 9.43 / 8.29 / 4.42
09-15 09:50:27.383 779 795 E ActivityManager: CPU usage from 137350ms to -1ms ago:
...
These are the only kind of errors im seeing in my catlog, not sure if they're related though
...
09-15 09:50:27.383 779 795 E ActivityManager: 5.5% 779/system_server: 2.7% user + 2.7% kernel / faults: 15520 minor 19 major
09-15 09:50:27.383 779 795 E ActivityManager: 1.5% 220/adbd: 0.2% user + 1.3% kernel / faults: 3055 minor
09-15 09:50:27.383 779 795 E ActivityManager: 0.9% 212/sensors.qcom: 0.3% user + 0.5% kernel / faults: 70 minor
...
...
09-15 09:50:28.236 7013 7125 D FirebasePlugin: Starting Firebase plugin
09-15 09:50:28.254 7013 7013 I cr_Ime : ImeThread is not enabled.
09-15 09:50:28.254 790 790 W Binder_2: type=1400 audit(0.0:98): avc: denied { ioctl } for path="socket:[46098]" dev="sockfs" ino=46098 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0
09-15 09:50:28.254 790 790 W Binder_2: type=1400 audit(0.0:99): avc: denied { ioctl } for path="socket:[46098]" dev="sockfs" ino=46098 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0
09-15 09:50:28.280 779 789 D ConnectivityService: listenForNetwork for Listen from uid/pid:10186/7013 for NetworkRequest [ id=13, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
09-15 09:50:28.306 7013 7124 I OpenGLRenderer: Initialized EGL, version 1.4
09-15 09:50:28.526 7013 7138 E libEGL : validate_display:255 error 3008 (EGL_BAD_DISPLAY)
09-15 09:50:28.533 779 800 I ActivityManager: Displayed co.runawaypets.runawaypets/.MainActivity: +1m3s432ms
09-15 09:50:28.581 1669 1692 W SearchService: Abort, client detached.
...
I only use firebase for the push notifications & was running .10
fine with no problems, seemed like it happened overnight after i did some minor HTML changes and published. Tried to update to the latest -v .12
and still getting the same.
Double checked the json files, their in the platform with the correct info.
Im not fully sure what to look out for though so i put the whole log in a gist up until the phone crashed here.
from cordova-plugin-firebase.
what if you go back to .10, does it work?
from cordova-plugin-firebase.
No that doesn't work
from cordova-plugin-firebase.
Hello,
I would like to integrate firebase in my phonegap build app for iOS and Android. I am very apprehensive to use this because of this issue.
I find this issue to be fixed in Firebase Status Dashboard (Check below link). I would like to get confirmation from you if you find this issue to be resolved.
https://status.firebase.google.com/incident/Crash%20Reporting%20%28Beta%29/16003
Waiting for your response.
Regards,
Venkat
from cordova-plugin-firebase.
Related Issues (20)
- android lockscreen Notification appears and disappears immediately but I want to keep the notification display
- Large Icon in foreground data message
- Can't install the plugin :( HOT 1
- Error installing library
- Execution failed for task ':transformClassesAndResourcesWithProguardForArmv8Debug'.
- FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileDebugJavaWithJavac'. > Compilation failed; see the compiler error output for details.
- FirebaseAuthenticationPlugin.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler HOT 1
- xcodebuild: Command failed with exit code 65
- app store bug HOT 1
- Failed to install 'cordova-plugin-firebase': Error: Uh oh! HOT 25
- Invalid_sender error
- CordovaError: Using "requireCordovaModule" to load non-cordova module HOT 2
- Actionable notifications for Android
- IOS: Notification not receiving when app in foreground HOT 1
- Creating a simple test app for Cordova - Firebase Analytics
- How to create an event in cordova which should trigger when a child in firebase realtime db changes
- Problems with iOS events for user subscriptions
- help
- Add required Privacy Manifest file for iOS
- Does this use the new Firebase API HTTP v1?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-firebase.