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
Unexpected end of JSON input error occurs due to incorrect initial value when there is no value in localStorage.
Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Object.generateOneLinkURL (onelink-smart-script-v2.7.0.js:2207:33)
at test.html:12:43
Problems summary
Unexpected end of JSON input error
occurs due to incorrect initial value when there is no value in localStorage.This may be due to the following code, where the correct initial value is probably
[]
.https://github.com/AppsFlyerSDK/appsflyer-onelink-smart-script/blob/main/scripts/onelink-smart-script-v2.7.0.js#L2207
Expected
No errors.
Environment Information
How to reproduce
ss_webReferrer
in localStoragesample code
The text was updated successfully, but these errors were encountered: