AMP
This SDK is responsible for interacting with Google's AMP pages. The purpose of the SDK is to offer a solution for paywall issues related to Apple’s Intelligent Tracking Prevention’s update that blocks 3rd party resources from accessing script writable storage. The Arc AMP paywall uses either cookies or localStorage for managing user tokens and logged in state, which has resulted in some subscribed users unnecessarily being paywalled.
Using the checkAMPReaderID
method available via this SDK, the AMP-provided READER_ID
will be used to fetch entitlements in the absence of a jwt
. This method should be called following all login
, heartbeat
and options
calls in order to ensure the subscriber retains access to the right content.
Joining a Group Package