I have GCM sample android gradle project. Its worked well, when I add 2 flavors a push notification stoped to work. My compilation manifest (its taked from app\build\intermediates\manifests\ex\debug) file is below:
<uses-permission android:name="com.flavor.app.permission.C2D_MESSAGE" />
<permission
android:name="com.flavor.app.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
................
<category android:name="com.flavor.app" />
</intent-filter>
</receiver>
<service android:name="com.ex.app.GCMIntentService" />
<service
android:name="com.ex.app.AppLocationService"
class=".AppLocationService" >
<intent-filter>
<action
android:name=".AppLocationService"
android:value=".AppLocationService" />
</intent-filter>
</service>
................
What shoud I do to fix this problem? Please help.
0 comments:
Post a Comment