Hello,
I have a 3rd party lib which uses their own push notification system and for that they expect the client to specify receivers and services in their manifest.
I can do this fine when I am building my enterprise app and get it to work, but for a plugin how would I go about dynamically giving the package name to the plugin manifest? The merge will happen on its own, so I can just leave the code itself in the plugin manifest I guess, but how would that {package id} be set
They require the following to be added in the app manifest when integrating the SDK, I need to do something for the plugin so this happens automatically, can someone point me to the docs for this or provide some general guidance. Thanks
<receiver android:name=“com.testcompany.messaging.CloudMessagingReceiver” android:exported=“true” android:permission=“com.google.android.c2dm.permission.SEND” >
<intent-filter>
<action android:name=“com.testcompany.messaging.OPEN” />
<action android:name=“com.google.android.c2dm.intent.RECEIVE” />
<category android:name="{PACKAGE ID}" />
</intent-filter>
</receiver>
<service android:name=“com.testcompany.messaging.CloudMessagingService” android:exported=“false” >
<intent-filter>
<action android:name=“com.google.android.c2dm.intent.RECEIVE” />
</intent-filter>
</service>
<service android:name=“com.testcompany.messaging.CloudRegistrationService” android:exported=“false”>
</service>