-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
register*StateChangeHandler doesn't work on Android since [email protected] #279
Comments
Just checked cordova-diagnostic-plugin@4 and the error still occures. |
Seems that the Android APIs have changed since API 26, as stated here:
Since the plugin currently uses implicit broadcast filters I'll need to rewrite it to register broadcast receivers at runtime. Thanks Google... |
Thanks for taking care of this one. And yeah, thanks google... |
Only now did I spot the Broadcast Limitations section in the Android 8.0 documentation. Anyway, I'm working on this now so hope to push out a patch version some time today. |
Fix published in v4.0.1 |
Ahh, i wasn't able to test it yet but i want to say thank you! |
@dpa99c I have noticed an odd behaviour
I tried to debug this. It seems Sorry if this is the wrong place to mention this issue. It looked like it had to do with |
@EdwinRozario I do have the same problem now with android devices, did you find a solution for it? |
I'm submitting a ... (check one with "x"):
Bug report
Current behavior:
Expected behavior:
Steps to reproduce:
Environment information
cordova -v
=> 7.1.0cordova platform ls
=> android 6.3.0cordova plugin ls
cordova-android-support-gradle-release 1.2.0 "cordova-android-support-gradle-release"
cordova-plugin-device 2.0.1 "Device"
cordova-plugin-device-orientation 2.0.0 "Device Orientation"
cordova-plugin-facebook4 1.7.4 "Facebook Connect"
cordova-plugin-inappbrowser 2.0.2 "InAppBrowser"
cordova-plugin-network-information 2.0.1 "Network Information"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.1 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova.plugins.diagnostic 3.9.2 "Diagnostic"
ionic-plugin-keyboard 2.2.1 "Keyboard"
ProductName: Mac OS X
ProductVersion: 10.11.6
BuildVersion: 15G19009
Runtime issue
Android build issue:
node -v
=> v9.4.0ls platforms/android/.gradle
=> 2.14 3.3android:targetSdkVersion
inAndroidManifest.xml
=> 25The text was updated successfully, but these errors were encountered: