Android 9 don't work
See original GitHub issueHI! i’ have a phonegap application and for android-targetSdkVersion 27 works well. For android-targetSdkVersion 28 crash with background plugin. I put permissions in my config.xlm and dosen’t work. Any someone have a solution?
config.xlm Head: `
<?xml version="1.0" encoding="UTF-8" ?> <widget id="com.Dxxxx" version="3.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <platform name="android">
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:usesCleartextTraffic="true" />
</edit-config>
</platform>
<platform name="android">
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
</edit-config>
</platform>`
Issue Analytics
- State:
- Created 4 years ago
- Comments:13
Top Results From Across the Web
12 Most Common Android 9 Pie Problems & Fixes - Dr.Fone
One of the most common problems Android Pie users are experiencing is connectivity issues, especially when it comes to Bluetooth and Network connections....
Read more >Fix an installed Android app that isn't working - Google Support
Try the following steps if an app installed on your phone has any of these problems: Crashing. Won't open. Won't respond. Isn't working...
Read more >Android 9 answers: 20 fast fixes for common Pie problems
Solve all your Android 9 irritations with these easy-to-follow fixes for common Pie problems.
Read more >Why can't I use an app? (Android 9 or Higher) - Sony Asia
Find and tap Settings > Apps & notifications > See all [number of apps] apps. Find and tap the relevant app. Tap Permission....
Read more >There's an app that doesn't work with Android 9 or 10 ... - Quora
Maybe there is an official or an unofficial Android version that you can install on your device. It has to be a specific...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am using the plugin https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background/src/master/ and it has the same problems. It is working fine for some hours, then it stops
Ok but this new plugin are compatible whith phonegap?