scratchjr/android/ScratchJr
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
..
.idea Add files to gitignore 2019-09-25 13:36:21 +01:00
app Split iOS and Android interfaces 2020-08-10 09:11:47 -04:00
gradle/wrapper Update to gradle 5 and update support dependencies 2019-09-09 16:15:24 -04:00
.gitignore Updating .gitignore 2016-05-02 11:05:08 -04:00
build.gradle Switch to firebase analytics 2019-10-21 10:48:03 -04:00
gradle.properties Initial commit 2016-01-08 14:31:04 -05:00
gradlew Initial commit 2016-01-08 14:31:04 -05:00
gradlew.bat Initial commit 2016-01-08 14:31:04 -05:00
ScratchJr.iml Add files to gitignore 2019-09-25 13:36:21 +01:00
settings.gradle Initial commit 2016-01-08 14:31:04 -05:00