Skip to content

[Question]: changes from Update-an-app-API is not reflected because of cache #1412

@Kent0011

Description

@Kent0011

How can we help?

When creating an app by api with only name and chrome_web_origin, account will be created but it is not enough to send web notification (especially safari). right? Then, after that, I want to make that app able to send notification by registering required informations(name, site_name, chrome_web_origin, safari_site_origin, safari_apns_p12(blank), safari_apns_p12_password(blank)) by Update an app API. The response is OK, and changes are reflected in dashboard. But web-front SDK still has old config value and safari says "OneSignal: Safari browser support on Mac OS X requires the Safari web platform to be enabled. Please see the Safari Support steps in our web setup guide.". safariWebId and siteName is undefined in OneSignal.config.
When click "save" button in https://dashboard.onesignal.com/apps/{app_id}/settings/webpush/configure with no changes, then SDK gets working.
API that SDK uses is cached in server side? or my update-an-app request was not accepted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions