Commit Graph

25 Commits

Author SHA1 Message Date
Donovan Preston
d1ea261dea Fixes #1037: Fix back button crasher
Java has nulls, and any object reference in Java can be null, but in Kotlin parameters default to not null unless the type is specified as `Type?`; our override of onActivityResult was specifying the type of the intent parameter as `Intent` instead of `Intent?`, causing an exception before our code was called. Figuring out how to turn on "break on all exceptions" in Android Studio (which is non-trivial for some reason) finally showed me the stack trace.
2019-01-23 10:28:57 -05:00
Danny Coates
e954a6cb62
typo. fixes #1100 2019-01-16 14:19:33 -08:00
Donovan Preston
af61434b72 Fix #888 Implement share card. 2019-01-16 12:05:39 -05:00
Danny Coates
5e5af03d11
run npm install if needed in buildAssets.sh 2019-01-03 13:56:32 -08:00
Donovan Preston
e55aa7cb86 Use the production fxa server and app id 2018-11-27 18:17:23 -05:00
Donovan Preston
d1212540a8 Rename package to org.mozilla.sendandroid per Rename package to org.mozilla.sendandroid per https://bugzilla.mozilla.org/show_bug.cgi?id=1494393#c10 2018-11-27 09:34:51 -05:00
Donovan Preston
9806dba408 Switch to a fxa clientId created just for Send Android 2018-11-20 12:27:02 -05:00
Danny Coates
1e62aa976d reimplemented l10n using dynamic import() (#1012)
this should greatly reduce the complexity of the l10n code
and build pipeline and eliminate the most common error
seen in sentry logs (no translate function)
2018-11-20 09:50:59 -05:00
Donovan Preston
ae4b8cf0d3 Add setApiUrlPrefix and use it in the android version. 2018-11-19 15:10:57 -05:00
Danny Coates
037c79730d
converting some things to choo/component 2018-11-15 15:43:32 -08:00
Danny Coates
c72e26c192
a couple android ui tweaks 2018-11-14 21:13:38 -08:00
Donovan Preston
3dc0ca933b Update the android ui to work with the new desktop ui components. 2018-11-14 14:20:32 -05:00
Donovan Preston
cab6f1bafb
Implement the mechanics of fxa login on android, but don't show ui fo… (#1000)
* Implement the mechanics of fxa login on android, but don't show ui for it yet. Also, scopedKeys are not yet implemented.

* Hopefully fix the package-lock conflict?

* WIP on android scoped keys

* Finish implementing login.

* created android/user.js to handle android logins
2018-11-08 16:35:19 -05:00
Danny Coates
99f6f53e40
renamed android's index.html to android.html 2018-11-06 11:21:14 -08:00
Danny Coates
eb79ce1835
wip on using shared ui in android 2018-11-02 16:33:16 -07:00
Donovan Preston
5ec2486c57
Add ui for setting max downloads, max time, and password. 2018-09-25 11:14:17 -07:00
Danny Coates
17ee4e0058 load android ui in dev when browsing to /android (#919) 2018-09-07 13:08:01 -04:00
Donovan Preston
71ea4e74f6
Implement wss preference url in html; Update to work with the tip of vnext branch; allow viewing the android ui from the webpack server (#918)
* Merge branch 'vnext' of https://github.com/mozilla/send into android-preferences

Fix conflicts

* Implement wss preference url in html; Update to work with the tip of vnext branch; allow viewing the android ui from the webpack server

* Use a try/catch in case localStorage isn't available, which it isn't in a ServiceWorker
2018-09-06 18:56:04 -04:00
Donovan Preston
7a48c5201a
Fix #896 Port Send Android to choo 2018-08-16 12:07:12 -04:00
Donovan Preston
071e283f87
Implement section 2.1 and parts of section 4.1 from the Send Android spec (#901)
* Fix #877 Implement Start page (Empty State) Design

* Update some kotlin and android sdk things, and update to the latest code in vnext

* Begin implementing the card ui which shows after uploading.

* Implement a progress bar.
2018-08-15 15:29:29 -04:00
Donovan Preston
a80d007e0c
Hook up the android kotlin code to the send js code (#860) 2018-07-27 09:11:46 -04:00
Donovan Preston
b5d7e99ba5 Serve ui out of local html files; pass text/plain and image/* data to the webview using a data url 2018-06-22 16:48:21 -04:00
Donovan Preston
c103c7fd7a Update dependencies 2018-06-22 16:47:33 -04:00
Donovan Preston
82bd1b2adf For some reason build clean produced this diff. 2018-05-23 21:43:38 -04:00
Donovan Preston
b269712c32 Initial working proof-of-concept for android. 2018-05-23 21:37:31 -04:00