Commit graph

11 commits

Author SHA1 Message Date
Yueyu
397ce34148 iOS: native receive project 2021-04-05 08:09:32 +08:00
Chris Garrity
6c737f51b8 [WIP] Initial version with WKWebView
Upgrade webview to WKWebView with many thanks to @yueyuzhao

* Need to debug a problem saving thumbnails on iOS 9.3.5
* Needs much more testing
2020-08-17 10:37:14 -04:00
Chris Garrity
927ebc9249 Make iOS 9.3 the minimum 2020-08-16 20:09:06 -04:00
Chris Garrity
1420a5947a Split iOS and Android interfaces
Refactor the native interface in preparation for switching iOS to use WKWebview.
* Finally rename the folder for device specific interfaces as `tablet` instead of `iPad`
* Update `import` statements to use the new name
* Create new `iOS.js` and `Android.js` based on previous `iPad/iOS.js` to separate the interfaces
* Add new `OS.js` class to manage the class variables, initialize the device interface delegate methods to the correct interface.
* refactor how  `utils/lib` detects the current platform based on `navigtor.userAgent` based on https://stackoverflow.com/questions/37591279/detect-if-user-is-using-webview-for-android-ios-or-a-regular-browser. previous method relied on the Android interface being loaded or not. It can be difficult to detect the difference between in a browser and in a webview, but for now ScratchJr doesn’t need to worry about running in a browser
2020-08-10 09:11:47 -04:00
Chris Garrity
5a5e5bdf12 remove duplicate ontouchmove 2019-10-25 13:49:31 -04:00
Chris Garrity
1ba161e3b1 Update iOS to use Firebase Analytics 2019-10-21 13:00:37 -04:00
chrisgarrity
bc4f8f85d5 Fix iOS build time warnings
* add required new app icon size
* add `LSSupportsOpeningDocumentsInPlace` property (false)
* set minimum iOS version to 8.0 (minimum allowed by this version of xCode)
2018-10-29 10:24:38 -04:00
chrisgarrity
7a530be88b Update to xcode recommended settings
Set minimum iOS version to 8.0
2017-08-14 16:27:07 -04:00
chrisgarrity
46f77164d8 Reduced sound effects to 16-bit for Android compatibility
- down sampled all the .wav files
- updated plist for free edition to include new required keys for iOS10
2017-03-13 13:56:02 -04:00
Tim Mickel
1a6c8966a2 Add npm build to free edition XCode project 2016-02-03 12:03:27 -05:00
Tim Mickel
e88af5b6df Initial commit 2016-01-08 14:31:04 -05:00