scratchjr/ios
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
..
Pods/Target Support Files/Pods-ScratchJrTests Update Cocoapods to use Firebase 2019-10-21 12:58:36 -04:00
ScratchJr Split iOS and Android interfaces 2020-08-10 09:11:47 -04:00
ScratchJr.xcodeproj Split iOS and Android interfaces 2020-08-10 09:11:47 -04:00
ScratchJr.xcworkspace update translations and languages 2018-10-03 13:58:37 -04:00
ScratchJrTests Initial commit 2016-01-08 14:31:04 -05:00
Settings.bundle Initial commit 2016-01-08 14:31:04 -05:00
.gitignore Initial commit 2016-01-08 14:31:04 -05:00
Podfile Update Cocoapods to use Firebase 2019-10-21 12:58:36 -04:00
Podfile.lock Fix scrolling while dragging 2019-10-25 12:46:11 -04:00