Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Disable Request Notification Permission #58

@frknylmzcom2

Description

@frknylmzcom2

Hello, the plugin currently automatically asks for notification permission when the app is opened, can we add this to a config?

This is my current config, can we add one here like disableNotificationRegistration? Because there is already a place inside where we get notification permission. It seems like it is not user friendly to ask for notification permission as soon as the application is opened at first.

[
  'config-plugin-react-native-intercom',
    {
      androidApiKey: INTERCOM_ANDROID_API_KEY as string,
      iosApiKey: INTERCOM_IOS_API_KEY as string,
      appId: INTERCOM_APP_ID as string,
      isPushNotificationsEnabledAndroid: true,
      isPushNotificationsEnabledIOS: true,
    },
],

Thank You!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions