Skip to content
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

Add rule receiver in AndroidManifest.xml #1518

Open
dvjdjvu opened this issue Oct 20, 2022 · 1 comment
Open

Add rule receiver in AndroidManifest.xml #1518

dvjdjvu opened this issue Oct 20, 2022 · 1 comment

Comments

@dvjdjvu
Copy link

dvjdjvu commented Oct 20, 2022

Versions

  • Python: 3.8.10
  • OS: Android 10
  • Buildozer: 1.3.0

Description

I found some flags for add rules in AndroidManifest.xml:

  • android.manifest.intent_filters
  • android.extra_manifest_xml
  • android.extra_manifest_application_arguments

But no one can't add rule receiver in block application:

<application>
<receiver android:name=".MyBroadcastReceiver" android:enabled="true" android:exported="true">
    <intent-filter>
        <action android:name="android.intent.action.BOOT_COMPLETED" />
    </intent-filter>
</receiver>
<application/>

like so.

I need the flag android.extra_manifest_application or some that for add rule receiver in AndroidManifest.xml.
How to do it?

Thank you.

@dvjdjvu
Copy link
Author

dvjdjvu commented Oct 21, 2022

#1519

kivy/python-for-android#2691

or you can write rules ~/dir_your_project/.buildozer/android/platform/python-for-android/pythonforandroid/bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant