-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Background service not starting on Android #209
Comments
I think the service is not automatically added, so you'll need to add it in your AndroidManifest.xml: <manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme">
...
<service android:name="com.asterinet.react.bgactions.RNBackgroundActionsTask" />
...
</application>
</manifest> |
Hi pmdev71, thanks for your feedback. I also thought it could be a manifest issue, but I found out it was already correctly declared in there. Only the proguard rule fixed the issue for me. |
i have same problem, the message is FAILURE: Build failed with an exception.
|
Hi everybody
I encountered an issue in the past days. After upgrading RN to 0.72 the background service wasn't starting anymore
After hours of debugging I figured out I needed to add an exclusion in the proguard file:
Best regards!
The text was updated successfully, but these errors were encountered: