Skip to content

Conversation

@tom-hartz
Copy link

This change adds a new API method which should be invoked during app startup:

window['FirebasePlugin'].enableForegroundNotifications();

If not called, foreground notifications are disabled by default. Standardized the notification behavior across Android and iOS to respect this setting, and only show foreground notifications if the above method has been called.

Also fixed an Android installation issue when project is providing a custom colors.xml (previously the plugin installation failed if this file already exists in the platform folder).

Tested successfully with
cordova-android: 7.1.4
cordova-ios: 4.5.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant