Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Sporadic registrations on iOS using Xcode  #2940

@arcm1138

Description

@arcm1138

Expected Behaviour

Consistent device registration

Actual Behaviour

When running / installing on a test device, it only registers the device sometimes and then stops working completely. This is with no settings changing (Light UI / CSS work only).

To get it registering again, I have to..

1> Remove the Push capability
2> Clean the build
3> Run the app, (push error thrown)
4> Close Xcode
5> Delete the app from the phone
6> Restart the phone
7> Restart Xcode
8> Re-enable the Push capability
9> Clean the build
10> Run / install

Sometimes this fixes the issue. Other times I have to continue to mess with the above process.

I submitted a build to Apple after getting it to work locally, but it didn't register for them.

Any suggestions welcome, thanks.

Platform and Version

Cordova iOS 6.0.0
iPhone 7 running iOS 13.6

Plugin version

2.3.0

Xcode version

11.6 - (This issue also occurred with previous versions)

Logs taken while reproducing problem

2020-07-28 16:59:57.119181-0400 APPNAME[906:266601] Received Device Ready Event
2020-07-28 16:59:57.119637-0400 APPNAME[906:266601] calling setup push
2020-07-28 16:59:57.119984-0400 APPNAME[906:266601] calling push init
2020-07-28 16:59:57.130137-0400 APPNAME[906:266601] Push Plugin VoIP missing or false
2020-07-28 16:59:57.130310-0400 APPNAME[906:266778] Push Plugin register called
2020-07-28 16:59:57.130446-0400 APPNAME[906:266778] PushPlugin.register: setting badge to false
2020-07-28 16:59:57.130482-0400 APPNAME[906:266778] PushPlugin.register: clear badge is set to 0
2020-07-28 16:59:57.130507-0400 APPNAME[906:266778] PushPlugin.register: better button setup
2020-07-28 16:59:57.130723-0400 APPNAME[906:266778] FCM Sender ID (null)
2020-07-28 16:59:57.130752-0400 APPNAME[906:266778] Using APNS Notification
2020-07-28 16:59:57.670073-0400 APPNAME[906:266601] The preference key "AutoHideSplashScreen" is not defined and will default to "TRUE"
2020-07-28 16:59:58.704659-0400 APPNAME[906:266601] active
2020-07-28 16:59:58.705015-0400 APPNAME[906:266601] PushPlugin skip clear badge

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