Pushwoosh / pushwoosh-phonegap-plugin

Pushwoosh PhoneGap Build Plugin
Other
109 stars 139 forks source link

Duplicate Android.xml meta-data #205

Closed acti0nm4n closed 7 years ago

acti0nm4n commented 7 years ago

Plugin added: cordova plugin add pushwoosh-cordova-plugin --variable IOS_FOREGROUND_ALERT_TYPE="ALERT" --variable ANDROID_FOREGROUND_PUSH="true"

When building it seems to add them again but as undefined values:

    <meta-data android:name="PW_NO_BROADCAST_PUSH" android:value="undefined" />

Or clearing the Android manifest completely:

    <meta-data android:name="PW_NO_BROADCAST_PUSH" android:value="undefined" />
    <meta-data android:name="PW_NO_BROADCAST_PUSH" android:value="true" />
viridanti commented 7 years ago

Hi,

The solution was described in this thread - https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/issues/216