Page MenuHomePhabricator

[CashTab] Expo - Initial setup with loading and webview. Working only on Android
AbandonedPublic

Authored by majcosta on Dec 18 2020, 02:31.

Details

Reviewers
alcipir
Group Reviewers
Restricted Project
Summary

Adds Expo (a framework that uses react-native for every device) initial setup, with a WebView pointing to https://cashtabapp.com. This is a first step torwards using the Expo framework for Android, iOS and web.

Test Plan

cd web/cashtab/mobile, npm install and then npm start. For Android you can download the Expo App and scan the QR code provided for testing. It should open a loading screen and then the CashTab website.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
cashtab-expo
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14439
Build 28845: Build Diff
Build 28844: arc lint + arc unit

Event Timeline

alcipir requested review of this revision.Dec 18 2020, 02:32
deadalnix added inline comments.
web/cashtab/mobile/App.js
35

Why does this need to load the js from a web page when it could have it on hand? That does not seems to make a lot of sense as a strategy to me.

majcosta planned changes to this revision.
majcosta added a reviewer: alcipir.

this should probably be the last step once all of cashtab is proper React'd

Unknown Object (User) added a subscriber: Unknown Object (User).Feb 16 2021, 18:58
This comment was removed by deadalnix.
web/cashtab/mobile/.expo-shared/assets.json
1

1PiHuP26V6DiutrdMuycywBXbRcybDKami

web/cashtab/mobile/App.js
35

1PiHuP26V6DiutrdMuycywBXbRcybDKami