Skip to content

window.OneSignal already defined as 'function'! #27

Description

@raphaelarias

HI.

I've just installed this module, and when I ran the example snippet:

this.$OneSignal.push(() => { this.$OneSignal.isPushNotificationsEnabled((isEnabled) => { if (isEnabled) { console.log('Push notifications are enabled!'); } else { console.log('Push notifications are not enabled yet.'); } }); });

image

It is similar to #6, but in the I don't see duplicated OneSignal scripts, but two different ones.

Would you know what is potentially the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions