Commit graph

62 commits

Author SHA1 Message Date
Ben Wheeler
64019e6fd8 fix to showing/hiding logo 2020-08-19 10:25:47 -04:00
Ben Wheeler
62a651369f add support for custom options questions at app start; refactor index.js 2020-08-14 16:52:23 -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
be9efb1e83 Fix mismatched file types 2020-05-01 07:41:09 -04:00
chrisgarrity
3c80bb2f81
Merge pull request #247 from yueyuzhao/dev-fix-ios-whole-window-scroll
iOS: disable UIWebView scroll to fix #243
2020-04-02 09:58:30 -04:00
Donald
d56ff035b0 fix library not scrolling 2020-03-31 07:40:26 +08:00
Chris Garrity
7f1f966984 Improve Analytics setup documentation
Added instructions to the README for how to get the google services configuration files for analytics. Removed (and ignored in future) the empty config files. Note: empty folders are ignored in git, so added an empty file `.exist` to the android folder so that it will be there as a place to hold the actual google services file.

Finally added the xCode scheme for the app that you need for newer versions of xCode.
2020-03-24 17:39:06 -04:00
Chris Garrity
e95a3b27e8 Update translations 2019-10-31 14:47:53 -04:00
Chris Garrity
d97d075959 Check in empty Firebase configuration 2019-10-25 15:30:38 -04:00
chrisgarrity
49d8b5a3df Move the parental gate before the share buttons
Change the share flow to have a ‘For Parents’ button that brings up the Parental Gate. Share buttons only become visible after a successful challenge.
2019-04-06 16:44: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
02ebb629c1 update translations and languages 2018-10-03 13:58:37 -04:00
chrisgarrity
21bb1a1eb6 Updated versions to allow building 2018-10-01 16:32:29 -04:00
apple502j
8ab8fefb55
Change 日本語 to にほんご 2018-08-05 20:46:48 +09:00
chrisgarrity
9336953985 Add languages
Added:
- German
- Japanese
- Portuguese
- Swedish
- Chinese (China)

Needed to modify Localization utilities to handle China locale in additional to language.
2017-09-16 14:33:28 -04:00
chrisgarrity
24ee71d95e Revert balloon SVG to fix speech balloon bug 2017-08-24 16:31:30 -04:00
chrisgarrity
e5d1e2ab10 Optimize SVGs
Ran svgo on all the UI SVGs to minify them. Library svgs are converted to pngs as part of the build process, so they are not optimized (it breaks the current conversion script)
2017-08-14 10:26:49 -04:00
chrisgarrity
b6a36dbf32 Handle official catface and logo
Hide all the usage elements, and re-show the logo/catface if coming from the usage page.
2017-08-11 09:13:52 -04:00
chrisgarrity
852df3edbb Add splash page for usage tracking
* Adds a usage cookie
* Only asks for usage on first launch
* will need checking with the official version to make sure the right elements are showing/hiding.
2017-08-10 10:00:22 -04:00
chrisgarrity
6626ba6cea Fix typo in SHARING_EMAIL_TEXT
missing space
2017-05-05 11:49:21 -04:00
chrisgarrity
d4a6b2885d Merge pull request #121 from chrisgarrity/bug/iOS-sound
Rewrite iOS sound management to use native audio instead of webaudio. Quirks are consistent with Android which was already doing native audio.
2017-03-14 21:56:59 -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
chrisgarrity
e9d0d0d7be Change iOS to use native sound.
This is after the coding session with Paula - mostly just clean up of obsolete code and leftover debugging output.
2017-03-08 11:16:31 -05:00
chrisgarrity
07ff36a1ae Pull latest translations from transifex 2016-09-20 09:54:39 -04:00
chrisgarrity
9923c34e76 Add new languages to ScratchJr
Needed slight adjustment to css for settings
added new language codes to settings.json and Localizations.js
2016-09-06 17:33:17 -04:00
chrisgarrity
3d6e015a6b Add settings to index page topbar
Add the settings button to the topbar - used in the PBS Kids version.
2016-05-26 14:00:21 -04:00
chrisgarrity
e41d145cbd Fix localization selection formatting bug on Android
Position selected checkmark pseudo element absolutely to fix bug on Android.
Fix fontsize at 34.5px (previous font size relative to view height looked good on iPad, but was too small on 16:9 android)
2016-04-15 12:30:56 -04:00
chrisgarrity
5136f2ae75 Update Spanish translations 2016-04-15 12:01:14 -04:00
chrisgarrity
0867873405 Add store listing content as json for localization
First part of LLK/scratchjr-private#501
Still need to get actual translations from translators and upload to iTunes/Google Play
2016-04-07 16:49:50 -04:00
chrisgarrity
3dc7e638ae Update Spanish translations from transifex 2016-03-31 16:18:09 -04:00
chrisgarrity
ec6353a60d Patch for Blocks guide category header width
Increase the width of blocks guide category headers (the colored bar for each blocks section)
This will work until there's a language with even longer text. Probably should switch to a min-width with padding-right for the long term.
2016-03-24 16:23:26 -04:00
chrisgarrity
528e768453 Sharing button style changes for localization
change css for sharing buttons from min-height which only looks good when the text is one line, to padding-bottom to support localizations that are more than one line (e.g. Spanish)

FIxes #42
2016-03-24 16:23:26 -04:00
Tim Mickel
56ff66b6a8 Include .gear CSS for taps 2016-03-24 15:57:51 -04:00
Tim Mickel
b9a232d90b Add gear icon to top right of splash page 2016-03-24 15:46:15 -04:00
Tim Mickel
687b9a5878 Merge pull request #46 from thisandagain/bugfix/41
Add check icon to language selection state
2016-03-24 15:31:41 -04:00
chrisgarrity
8f93e93127 Pull in updated Spanish translations
Include transifex updates from Paula and Marina.
2016-03-24 14:25:38 -04:00
Andrew Sliwinski
8254d0ed4d Add check icon to language selection state. Resolves GH-41 2016-03-24 14:03:49 -04:00
chrisgarrity
2523f0718e Update Sample project localizations 2016-02-17 15:18:59 -05:00
chrisgarrity
7c258cda56 Friends Sample Project localization update 2016-02-10 14:41:20 -05:00
Tim Mickel
4c98de9dc7 Only include app.bundle.js in app bundles 2016-02-08 14:28:55 -05:00
Tim Mickel
9f45c2f7a8 Add config for disabling the lobby settings page
In some editions we may not have completed translations. For these, the settings page can be hidden.
2016-02-03 15:51:16 -05:00
Tim Mickel
71d48d56da Bump free version to 1.2.0 2016-02-03 12:03:34 -05:00
Tim Mickel
1a0801b74d Reconciliation of PBS KIDS edition splash page 2016-02-02 18:19:06 -05:00
Tim Mickel
7b28c13f84 blocks.html, interface.html, paint.html remaining scripts
Moved to app.js entry
2016-02-02 16:38:31 -05:00
Tim Mickel
fdbf07b6d9 Includes and code stubs for rest of in-app help 2016-02-01 12:05:40 -05:00
Tim Mickel
def37de218 Adding module about page and include roots
Localization, MediaLib, and Settings loads need an adjustable path for now because inapp/ pages are in a subdirectory.
2016-02-01 11:57:41 -05:00
Tim Mickel
b102d7a100 Use app bundle JS for getting started video 2016-01-22 16:44:46 -05:00
Tim Mickel
2f2d36dd86 Merge entry-points and bundles for editor, home, index 2016-01-22 16:20:18 -05:00
Tim Mickel
1849431ccd Asynchronous loading of MediaLib 2016-01-22 16:19:51 -05:00
Tim Mickel
efb7d3f226 Moving Settings.js to settings.json 2016-01-22 15:23:42 -05:00