Commit graph

10 commits

Author SHA1 Message Date
Christoph Kührer
48b5d85904 Cleanup Android project (Minor refactorings, etc.) (#1244)
* (Android) Get rid of double bangs by using Kotlin view binding

Instead of holding a nullable reference to the WebView, we are now
accessing the WebView using the view binding utility of Kotlin's
Android Extensions.

Further reading:
https://kotlinlang.org/docs/tutorials/android-plugin.html

* (Android) Enable WebView debugging in debug builds

This enables debugging the app's WebView using Chrome's DevTools.
https://developers.google.com/web/tools/chrome-devtools/remote-debugging/webviews

* (Android) Make MainActivity.kt adhere to common Kotlin conventions

* (Android) Update dependencies and improve formatting of Gradle files

This updates the Kotlin plugin to 1.3.21 and the Gradle plugin to 3.3.2

* (Android) Remove unnecessary ConstraintLayout container

Layout files should generally have as few nested layers as possible,
because every layer affects the performance.

* (Android) Use JSONObject class to construct a JSON string

It is way safer to construct a JSON string using classes that are
meant for doing that, instead of concatenating raw strings.

* (Android) Suppress JavaScript lint warning

* (Android) Use Kotlin string templates instead of concatenating strings

* (Android) Add missing SuppressLint import
2019-04-04 15:25:25 -04:00
Donovan Preston
8c59e54677 Switch the package name, for signing with a new key; switch the server to send.firefox.com 2019-03-12 12:35:45 -04:00
Donovan Preston
a42cec97f3 Fix #1145 Fix the back button after logging in. (#1158)
To do so, we clear the webview history once the login process is complete so that the intermediate redirect urls used by the login process are not in the history.

Also, update the versions of some of the libraries we use.
2019-02-19 09:35:37 -08: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
Danny Coates
037c79730d
converting some things to choo/component 2018-11-15 15:43:32 -08: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
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
c103c7fd7a Update dependencies 2018-06-22 16:47:33 -04:00
Donovan Preston
b269712c32 Initial working proof-of-concept for android. 2018-05-23 21:37:31 -04:00