mapbox / mapbox-scenekit

Other
231 stars 51 forks source link

Provide access token #51

Open natalia-osa opened 5 years ago

natalia-osa commented 5 years ago

Saving the access token in plist is a threat when someone wants to reverse engineer the app. Plist is very easily readable. To make it more difficult for potential hacker even having it in code is harder to find and read, especially if it's obfuscated. This pull request leaves the old, simple inits as they were but adds another way for people who need to keep their data secure. They can keep the token in a way they prefer and provide it in code, eg after deobfuscating.