简体   繁体   中英

Kinvey not working on iPhone and iPad

I'm using Kinvey's backend services accessing by their Javascript API. Initialisation of Kinvey works fine in any PC browser (Safari, FF, Chrome) and also on FF mobile and Chrome mobile. I got this error on iPhone's Safari and iPad's Safari only, console output:

jQuery.Deferred exception: Can't find variable: Kinvey https://.html:22:15 l@ https://code.jquery.com/jquery-3.3.1.min.js:2:29380 https://code.jquery.com/jquery-3.3.1.min.js:2:29678

Here's the code showing the error:

 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>My App</title> <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> <script src="https://da189i1jfloii.cloudfront.net/js/kinvey-html5-sdk-3.11.1.min.js"></script> <script src="https://matthewcv.github.io/mobiledebug.js"></script> </head> <script> $(document).ready(function() { console.log("before"); // Init Kinvey Kinvey.init({ appKey: '<yourAppKey>', appSecret: '<yourAppSecret>' }); console.log("after"); }); </script> <body> <div> Show something </div> </body> </html> 

I'm working with the latest iOS as well as the latest Javascript packages.

I wrote several times into Kinvey's forum but nobody seems to care of. So I try it here in hope someone knows the solution.

Based on remotesynth's comment I was sure that something screwed up my iPhone. After a complete reset of the device I could make it working too.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM