Coder Social home page Coder Social logo

Comments (7)

dji-dev avatar dji-dev commented on July 23, 2024

Hi @triceam, this error is related to the app registration issue, please try the following methods:

  1. Delete the apps on you iOS9 and iOS10 simulator and try again.
  2. Modify your Xcode project's bundle ID and apply for a new App Key from DJI developer website, then try again.

Try if these two methods work, let me know the result. Thanks!

from mobile-sdk-ios.

triceam avatar triceam commented on July 23, 2024

I tried both of these things, but neither fixed it:

  1. I used "Reset Content & Settings" on the simulator to erase everything from it, but the problem did not go away. I received the exact same error message when I launched the app on the freshly cleaned simulator.
  2. I'm not able to test this right now... Looks like the DJI developer site is having problems. None of my apps are showing up, and it won't let me create a new one. I opened up the debug console in Chrome, and it looks like someone left a reference to a localhost dev environment (127.0.0.1) in the deployed app code (see screenshot below).

image

from mobile-sdk-ios.

dji-dev avatar dji-dev commented on July 23, 2024

Hi, please try to create a new app key on DJI Developer Website, it should work now. Thanks!

from mobile-sdk-ios.

triceam avatar triceam commented on July 23, 2024

I'm still seeing errors on the DJI Developer website. I emptied the cache and reloaded, but I get the same error mentioned above (references to 127.0.0.1:3000).

from mobile-sdk-ios.

dji-dev avatar dji-dev commented on July 23, 2024

Sorry for the inconvenience, please try again, it should work now.

from mobile-sdk-ios.

triceam avatar triceam commented on July 23, 2024

Created a new ID, and changed my bundle identifier, but no luck - I got the same error message. iOS 10 is much more strict on networking & App Transport Security settings... possibly, do we need to add specific DJI domains or IPs to exception domains?

from mobile-sdk-ios.

dji-dev avatar dji-dev commented on July 23, 2024

Hi, since we use NSUserDefaults in SDK registration, and Xcode 8 Beta 1 has a bug related to NSUserDefault, please try to reboot your Mac and run iOS 10 simulator directly or upgrade your Xcode 8 to Beta2.

For more details, please check this stackoverflow:
http://stackoverflow.com/questions/37840288/ios-10-nsuserdefaults-does-not-work

Hope this help, thanks!

from mobile-sdk-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.