Skip to content

Error: JSON Parse error: Unexpected token: < #55

Description

@jeokeefe

I am intermittently seeing an exception when calling "checkVersion". The exception happens about 25% of the time. im calling the function as follows:

    let check = await checkVersion({
        version: versionLocal, // app local version
        iosStoreURL: updateConfig.urls.ios.check,
        androidStoreURL: updateConfig.urls.android.check,
        country: 'us',
    });

where variables are (expect i am using my real id# and app name) :

    ios: {
        check: 'https://apps.apple.com/us/app/yachtwave/id1234567890',
    },
    android: {
        check: 'https://play.google.com/store/apps/details?id=com.myapp.app',

Hoping you can help find the issue as it is affecting version checks - thanks!

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