You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When operating a Single Page Application (SPA), you will need to reload the configuration to faciliate switching between different types of webpage. For example:
Go from the homepage to a basic article (no markup to markup with "productID: norcaltribune.com:basic")
Go from a basic article to a premium article (markup with productId: "norcaltribune.com:basic" to markup with productId: "norcaltribune.com:premium"
At the moment, the existing methods reset() and clear() only clear the entitlements and open dialogs but do not reset the page config which means that the flow described above cannot currently be supported.
The text was updated successfully, but these errors were encountered:
Do not re-call subscriptions.init(), this will error out saying that the library is already configured
Call subscriptions.getEntitlements() and check the full entitlements response to see if any of the entitlements are valid
Do not use entitlements.enablesThis() as it will be based on the configuration on the original page, not necessarily the configuration on the current page
It would still be good for reset() and clear() to be updated to support this flow though.
When operating a Single Page Application (SPA), you will need to reload the configuration to faciliate switching between different types of webpage. For example:
"productID: norcaltribune.com:basic"
)productId: "norcaltribune.com:basic"
to markup withproductId: "norcaltribune.com:premium"
At the moment, the existing methods
reset()
andclear()
only clear the entitlements and open dialogs but do not reset the page config which means that the flow described above cannot currently be supported.The text was updated successfully, but these errors were encountered: