Open HiFromAjay opened 8 years ago
This setup came from the Xtify documentation. I'm not sure why they have it setup this way but it is how they get their service to work. You can see the setup here: Xtify Docs and look at step 3c. You could try raising an issue with them to see why they have it setup in this manner
yes it will work without any problem because the app is declaring <uses-permission>
required to receive the protected broadcast intent from the system. The only issue is security. If I am not missing something specific to Xtify push implementation, the receiver component is not protected at all and any malicious app can access that component without any difficulty. Thanks for your response and suggestion. I couldn't find issue tracker page in Xtify.
Android does not support
android:permission
attribute inside<intent-filter>
tag so use of<intent-filter android:permission="com.google.android.c2dm.permission.SEND">
inside AndroidManifest.xml won't protectcom.xtify.sdk.c2dm.C2DMBroadcastReceiver
receiver component. I have two questions. 1. whats the use ofandroid:permission
inside<intent-filter>
if it does not do anything and 2. shouldn't theandroid:permission
attribute is declared inside<receiver>
tag.