Closed jquick-axway closed 2 years ago
This module will cause an app build failure if the app "targets" Android 12 (aka: API Level 31).
The reason is because Android 12 has a breaking-change where all <activity/>, <receiver/>, and <services/> elements that have an <intent-filter/> now require you to define an android:exported="<true/false>" attribute. https://developer.android.com/about/versions/12/behavior-changes-12#security
<activity/>
<receiver/>
<services/>
<intent-filter/>
android:exported="<true/false>"
For this module, you'll need to add an android:exported="true" attribute to the following <service/> element in the "timodule.xml" file. https://github.com/hansemannn/titanium-firebase-cloud-messaging/blob/master/android/timodule.xml#L9
android:exported="true"
<service/>
Thanks for the check/hint :+1: added it, still working fine on Android 11
This module will cause an app build failure if the app "targets" Android 12 (aka: API Level 31).
The reason is because Android 12 has a breaking-change where all
<activity/>
,<receiver/>
, and<services/>
elements that have an<intent-filter/>
now require you to define anandroid:exported="<true/false>"
attribute. https://developer.android.com/about/versions/12/behavior-changes-12#securityFor this module, you'll need to add an
android:exported="true"
attribute to the following<service/>
element in the "timodule.xml" file. https://github.com/hansemannn/titanium-firebase-cloud-messaging/blob/master/android/timodule.xml#L9