Skip to content

Commit 71d051f

Browse files
authored
Co-exist with phonegap-plugin-push
`Error: Permission name C2D_MESSAGE is not unique` while cordova build
1 parent 518b640 commit 71d051f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugin.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
<!-- no longer necessary for android > 4.0.4 -->
4343
<!--uses-permission android:name="android.permission.GET_ACCOUNTS" /-->
4444

45-
<permission android:protectionLevel="signature" android:name="$PACKAGE_NAME.permission.C2D_MESSAGE" />
46-
<uses-permission android:name="$PACKAGE_NAME.permission.C2D_MESSAGE" />
45+
<permission android:protectionLevel="signature" android:name="${applicationId}.permission.C2D_MESSAGE" />
46+
<uses-permission android:name="${applicationId}.permission.C2D_MESSAGE" />
4747
</config-file>
4848

4949
<framework src="com.parse:parse-android:1.13.0" />

0 commit comments

Comments
 (0)