question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android 9 don't work

See original GitHub issue

HI! 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:open
  • Created 4 years ago
  • Comments:13

github_iconTop GitHub Comments

3reactions
ThorvaldAagaardcommented, Jan 20, 2020

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

1reaction
Electrobyte2commented, Jan 20, 2020

This plugin doesn’t update anymore. https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background/src/master/ this fork works on android 9.

Ok but this new plugin are compatible whith phonegap?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found