About my Basketball Simulator Code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

About my Basketball Simulator Code

I have a question. My Basketball Simulator Game works well, but it doesn't work with on the phone app. How do I fix it?

5th Aug 2018, 12:09 AM
Andymat007
Andymat007 - avatar
2 Answers
+ 2
Here's the link to the code - https://code.sololearn.com/WNosE2t0Os6I/?ref=app The main problem with it (which isn't really much of a problem) is that you're trying to access the local storage on the user's device. Sololearn itself doesn't have the permissions to allow for it to access the local storage, which is why it's returning an error.
5th Aug 2018, 12:33 AM
Faisal
Faisal - avatar
+ 2
I see. Thanks.
5th Aug 2018, 12:36 AM
Andymat007
Andymat007 - avatar