Added universal links support, so the app can be called from other apps, create a token and feed that token back to the original (calling) app.
This is the implementation for the app Autarkie Manager (www.otrky.com) which is able to monitor Tesla Powerwall solar installations.
In order to make the universal links work you need to add a file to your web server (www.watchfortesla.com ?) with following path/filename: /.well-known/apple-app-site-association
It is important, that the file gets served by the web server with content-type: application/json
Contents of the file (Please double check if the appID is corrent):
Added universal links support, so the app can be called from other apps, create a token and feed that token back to the original (calling) app. This is the implementation for the app Autarkie Manager (www.otrky.com) which is able to monitor Tesla Powerwall solar installations.
In order to make the universal links work you need to add a file to your web server (www.watchfortesla.com ?) with following path/filename: /.well-known/apple-app-site-association It is important, that the file gets served by the web server with content-type: application/json Contents of the file (Please double check if the appID is corrent):
Please make sure that you add the associated domain (www.watchfortesla.com) to your xcode project, more info can we found here at apple docs.