Commit Graph

361 Commits

Author SHA1 Message Date
Pedro Pombeiro cc79cf3b3a
Enable Hermes in Android. Fixes #8952
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-12 16:15:11 +02:00
Pedro Pombeiro e4eabd2810
Migrate to use AndroidX 2019-09-12 16:13:43 +02:00
Pedro Pombeiro 9feb31bd3b
Upgrade react-native to 0.60.5
- Use community net-info, react-native-webview instead of deprecated react-native classes
- Remove react-native-tcp
- Upgrade react-native libs (react-native-camera, react-native-firebase, react-native-mail, react-native-udp, react-native-webview-bridge)
- Do not include `:react-native-android` module explicitly
- Take advantage of RN AutoLinking
- nix: Update Gradle dependencies
2019-09-12 16:13:42 +02:00
yenda 5db0a58ab8
remove unused deps and document the others
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-12 16:12:46 +02:00
Pedro Pombeiro 0ae1e7c8bd
Fix strip warning on release Android builds 2019-09-10 19:03:13 +02:00
yenda c3dd950286
remove realm
Signed-off-by: yenda <eric@status.im>
2019-09-09 18:40:15 +02:00
Pedro Pombeiro 66b982c3fb
Use react-native net-info community package
Signed-off-by: yenda <eric@status.im>
2019-09-05 14:16:28 +02:00
Pedro Pombeiro 58d310ffce
Remove RAM bundle support 2019-08-30 17:13:35 +02:00
Andrey Shovkoplyas 0288d617cb
[#8849] Use node-qrcode instead of react-native-qrcode 2019-08-29 15:53:44 +02:00
MajorTomSec 5dbac2b1d9
[Fix 8635] About showed "Version ()" instead of Version 0.14.0 (201908...) on Android
Fixes #8635 by adding VERSION and BUILD_NUMBER files in the correct nix
template and updating bash script in order to prevent it from failing,
due to the git repository being not initialized in the nix environment.

Move scripts/build_no.sh and scripts/gen_build_no.sh to
scripts/version/build_no.sh to prevent Nix from rebuilding when
unrelated scripts are touched.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-26 12:51:50 +03:00
Pedro Pombeiro cfcbe6e5fb
Remove unused `android/app/react.gradle` and mapview leftovers
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-23 11:59:30 +02:00
Pedro Pombeiro 492f2df547
Move version definitions to gradle.properties
- Update minSdkVersion to 18
2019-08-15 11:18:38 +02:00
Pedro Pombeiro f691304b9d
Fix minor issues and typos in Android build process
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-01 19:34:33 +02:00
Andrey Shovkoplyas 1ec5d2b64b
[#8631] Fix sticker price UI
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-26 12:37:13 +02:00
Pedro Pombeiro a7fd659d84
nix: Wrap gradle, npm packages, `lein prod-build` and `gradle assembleRelease` in Nix expressions to improve reproducible builds with constant build paths 2019-07-15 16:08:02 +02:00
Vitaliy Vlasov e28202521f
Update launch logo
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-07-11 17:12:21 +03:00
Vitaliy Vlasov e9fd6e1a6b
Onboarding setup wizard
New onboarding e2e tests updates

New onboarding e2e fix 2

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-07-08 18:17:50 +03:00
yenda 2fd3fb96c7
[fix] missing icons in wallet
Signed-off-by: yenda <eric@status.im>
2019-07-01 14:06:55 +02:00
Vitaliy Vlasov 4f6e06bf59
Use react-native-screens
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-07-01 09:30:19 +03:00
Roman Volosovskyi ae52fd07f4
add back tooltip-triangle icon 2019-06-24 17:35:40 +03:00
Pedro Pombeiro fad5f318cf
Ensure shell.nix uses same nixpkgs as the rest of the environment
also remove gradle wrapper

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-20 09:18:24 -04:00
Roman Volosovskyi 2ad4c9c054
upgrade react-navigation 2019-06-19 12:00:22 +03:00
Roman Volosovskyi 6da2c93a41
[mobile] switch to png icons 2019-06-18 15:10:10 +03:00
Igor Mandrigin 23702dc1e7
[android] ignore the gms version from `react-native-http-bridge`.
`react-native-http-bridge` has an unbound dependency on GMS,
that sometimes brings unnecessary transitive dependencies to our builds.

This commit forces to ignore this depencency.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-06-18 12:55:18 +02:00
Jakub Sokołowski eb4ba4c50e
drop x86 and x86_64 for non-e2e or dev builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-11 13:30:49 -04:00
Pedro Pombeiro 1457f0f017
Some changes from the node2nix test branch that don't need to be there
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-06-06 19:13:31 +02:00
tbenr 090a4e7c76
fixes #6573
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-31 10:25:24 +02:00
Roman Volosovskyi c7c7b50281
RAM bundle basic setup 2019-05-27 17:34:17 +03:00
Roman Volosovskyi b0be9ee976
Send logs on shaking device 2019-05-24 13:35:04 +03:00
bitsikka d640b4c87c
[7947] Feature: Blank out app preview screen when switching apps on mobile
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-22 15:31:50 +02:00
Igor Mandrigin 68fc93a935
android: add adaptive icon for non-debug builds
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-05-20 17:23:57 +02:00
Pedro Pombeiro c59f372ef3
Disable PNG optimization on Android builds, for reproducibility
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-14 15:49:31 +02:00
Roman Volosovskyi ff39426e56
[android] send logs to error-reports@status.im 2019-05-10 17:02:58 +03:00
Andrea Maria Piana 441989f168
Make pr build debuggable
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-08 14:47:04 +02:00
Julien Eluard 99172607d5
[Fixes #7325] Add EIP681 deeplink support
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-05-08 14:44:24 +02:00
Pedro Pombeiro 49fbf21f8d
Split status-go Nix package per platform so rebuilds are faster
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-06 14:40:23 +02:00
Jakub Sokołowski 1d00e9bb3d
change App ID for PRs on Android to avoid replacing release
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-10 11:49:40 +02:00
Pedro Pombeiro f048b8a80d
Use gradle 4.10.2 package from nixpkgs so the wrapper doesn't need to download it 2019-04-09 12:44:39 +02:00
Pedro Pombeiro 65e6e80349
Create Nix package for building status-go 2019-04-09 12:44:39 +02:00
Roman Volosovskyi 24a978d442
Migrate to RN 0.59.2 2019-04-01 17:42:57 +03:00
yenda 496f3f1cc7
[design] use Inter font on Android
- implement typography component
- replace InterUI font by Inter font (renaming)

Signed-off-by: yenda <eric@status.im>
2019-03-20 18:42:31 +01:00
Andrea Maria Piana f446dbd585
Remove read profile android permission
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-03-15 13:21:48 +01:00
tbenr b1331378d5
fixes #6597
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-06 17:09:58 +01:00
Roman Volosovskyi 159c57a21d
Set #FFFFFF as default background color on Android 2019-02-25 14:22:47 +02:00
Igor Mandrigin c0f5bd14de
Revert "change App ID for PRs on Android to avoid replacing release"
This reverts commit 6a7efb8339.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-13 10:12:51 +01:00
Jakub Sokołowski 6a7efb8339
change App ID for PRs on Android to avoid replacing release
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-02-12 13:24:24 +01:00
kn 6988950ea8
[#6973] Replace react-native-i18n with react-native-languages 2019-02-09 23:27:46 -08:00
Igor Mandrigin fafecfe95a
Get rid of StatusService.
StatusService was only used to handle `signalEvent:` from status-go.
This commit simplifies this interaction and getting rid of the service
and all the problems that come with it.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-29 12:01:05 +01:00
Pedro Pombeiro 5a69b4198e
Update PNs to use data-only messaging, and only encode/decode data values. Fixes #6772
Fix navigation to chat when PN is tapped while signed off. Fixes #3488

Anonymize PN pubkeys. Part of #6772
2019-01-17 19:23:55 +02:00
Jakub Sokołowski b51b565cdb
add dockerimage for building android
- remove unused android-ndk toolchains
- add build.sh and test target for easy testing of image
- separate generic parts into a base image
- pass keystore credentials via env variables

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-16 17:36:13 +01:00
Roman Volosovskyi 2777809db9
enable saving password on android
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-08 17:40:00 +01:00
Pedro Pombeiro 9d21cf143e
Add Send Logs command. Closes #6710
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-08 09:48:56 +01:00
Dmitry Novotochinov 962c49e345
add keycard installation
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-12-20 15:43:37 +03:00
shamardy fdb808a7dc
Added animated GIF support on android
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-12-17 13:33:55 +01:00
Jakub Sokołowski 411a74e040
add mvnrepository.com for gradle
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-12-10 21:04:38 +01:00
Pedro Pombeiro 8d2818017c
Only disable gradle daemon on CI, and install recommended npm version 2018-11-26 23:03:30 +01:00
Jakub Sokołowski 01c8d9b25b
stop using build-* git tags for counting build numbers
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-11-21 13:43:12 +01:00
Andrey Shovkoplyas e09476f5d3
added Inter UI font and made some cleanup
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-11-06 16:46:58 +01:00
Jakub Sokołowski 14ef386f2e
move google repo before jcenter for maven
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-10-23 17:31:40 +03:00
Andrea Maria Piana 9629983f7f
Remove instabug 2018-10-19 09:18:22 +03:00
Roman Volosovskyi c338896018
[#6330] remove testfairy 2018-10-16 20:46:43 +03:00
Roman Volosovskyi 3dd532c656
fix "DexArchiveMergerException: Unable to merge dex" by requesting status-im:function via jitpack 2018-10-10 13:17:06 +03:00
Jakub Sokołowski 75f23a19ad
drop use of artifactory maven repo
Signed-off-by: Jakub Sokołowski <jakub@status.im>

- rename jar file to match flatDir search method
- try using ivy repo to pull status-go from github
- drop use of artifactory in pom.xml
- move status-go version to a STATUS_GO_VERSION file
- upgrade status-go to 0.16.0
- unzip with overwriting
- prepare-ios: doewnload archive only if it doesn't exist
- fix prepare-android and prepare-ios
- use Makefile targets to make sure status-go archives exist
- remove unnecessary call to make prepare-android

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-10-05 18:18:58 -04:00
Goran Jovic 260d8a5b94
fix for the build problem on android
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-05 15:12:39 +02:00
Igor Mandrigin 908c0eff46
Remove unnecessary fonts from our app bundle.
Remove unused fonts on Android.
2018-09-28 20:04:27 +03:00
yenda bbc85e77a8
increase javaMaxHeapSize to speed up build
Signed-off-by: yenda <eric@status.im>
2018-09-28 14:05:45 +02:00
Eric Dvorsak 21cc106ed3
cljs implementation of abi-spec
Signed-off-by: yenda <eric@status.im>
2018-09-26 21:58:14 +02:00
Dmitry Novotochinov 60cb0eb36c
[#5825] add hardwallet auth method and connect screens
* add react-native-nfc-manager to detect NFC support
* add "Choose auth method" screen https://www.figma.com/file/UfQjpWl1hmRchHIyY3Wvu2nW/Hardwallet-light-flows?node-id=259%3A29
* add "Hardwallet connect" screen https://www.figma.com/file/UfQjpWl1hmRchHIyY3Wvu2nW/Hardwallet-light-flows?node-id=258%3A594

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-20 12:30:47 +03:00
Eric Dvorsak 8d053b4389
[feature #5527] allow user to change status-go loglevel in settings 2018-09-07 15:22:32 +02:00
Eric Dvorsak 8eb5047d7a
[fix #4819] update react-native to 0.56
Fix figwheel-bridge path in clj-rn.conf.edn
update SplashScreen
update ios to 9.0
updated Podfile.lock
downgrade cocoapods to 1.5.2
update package-lock.json
update pod repo when installing
update appcompat to v27

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-05 21:27:46 +03:00
Jakub Sokołowski 17cca3a7c4
add metadata, change filenames, switch DO space to status-im
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-24 09:51:45 -04:00
Dmitry Novotochinov a4541c8af3
[#3352] Improve new message notifications
* Set custom sound
* Tap on notification opens chat
* Show message notifications when app in foreground

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-10 13:48:37 +03:00
Roman Volosovskyi 6dd4064b70
remove nfc-react-native module 2018-08-02 11:10:53 +03:00
Andrea Maria Piana f8c9bec383
[Fixes #5127] Move files to no-backup directory & hash accounts
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-13 10:06:36 +02:00
Pedro Pombeiro 2a6bb4cb8f
Set JVM heap size in gradle.properties so that dex can run in-process
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-07-12 19:02:01 +02:00
Roman Volosovskyi 2b8a29817a
small changes for coordination of docs and latest addition of RN fork 2018-06-29 16:26:08 +03:00
cammellos c4c5c19a77
[Part of #4944] add deep/universal link ios and use status-im://
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-29 14:54:05 +02:00
Roman Volosovskyi f27e4fe57e
build React Native from fork 2018-06-29 06:56:07 +03:00
Andrea Maria Piana b17d9bab37
Add universal links for android
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-27 22:45:57 +02:00
Jakub Sokołowski 499f5b0559 disable gradle daemon to make builds more stable 2018-06-20 11:22:22 +02:00
Igor Mandrigin c5e078b9d7
[#4651] Set minimum iOS and Android versions.
iOS: 11.0 is the minimal requirement, phone-only application.
Android: 6.0 (API level 23).

[Android API levels table](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)
2018-06-07 12:11:11 +03:00
Georgie Mathews 0d0c37e4a9
[FIX #4362] Updates App Icons 2018-06-01 11:35:25 +03:00
pacamara a2762eb19e
Fixes #4334: Update to react-native 0.55.4
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-30 14:00:12 +02:00
Georgie Mathews 464c2c51ce
[FIX #4347] Update Launch Screens
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-28 12:14:33 +02:00
Roman Volosovskyi b50cbd036b
fix libgnustl_shared.so is 32 bit instead of 64-bit
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-28 12:04:12 +03:00
Eric Dvorsak 4b7360db17
[fix] fix build for recent versions of ndk
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-25 13:14:12 +02:00
Jakub Sokołowski 6ab699350d
fix path to VERSION in buil.gradle 2018-05-24 21:52:41 +02:00
Jakub Sokołowski ec6df03fbc
pull version from VERSION 2018-05-24 21:52:40 +02:00
Jakub Sokołowski bd1422c627
don't add tags when running build_no.sh from gradle 2018-05-24 21:52:38 +02:00
Jakub Sokołowski bf0e8ddd5f
move build_no.sh to scripts/ 2018-05-24 21:52:37 +02:00
Jakub 436ac1d798
Merge pull request #4131 from status-im/fix/build-numbering
Fix for versionCode conflicts when uploading to Play Store
2018-05-16 16:55:54 +02:00
Dmitry Novotochinov 1fc30b798d
Set React Native version in build.gradle
Fixes React Native version mismatch error
https://github.com/facebook/react-native/issues/19259#issuecomment-389064401

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-05-16 10:20:14 +03:00
ambilo 9b17cdd306
Remove JSC_ENABLED flag and turn on behavior by default 2018-05-09 14:20:49 +03:00
Stepan Lusnikov 0082f5dd95
Add ability to run multiple android app
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-08 14:22:46 +03:00
Jakub Sokołowski a2810999a6
we are actually in andoid/app dir 2018-05-07 21:14:51 +02:00
Jakub Sokołowski 86c6701340
use sh explicitly 2018-05-07 19:56:50 +02:00
Jakub Sokołowski ac7e412a9c
print current working dir 2018-05-07 18:51:49 +02:00
Jakub Sokołowski c1af6448d6
separate --tag argument from the command 2018-05-07 17:10:21 +02:00
Jakub Sokołowski 99e9316fda
add use of --tag 2018-05-07 15:37:56 +02:00
Jakub Sokołowski ccbfc5bb7e
fix workingDir for build.gradle running build_no.sh 2018-05-07 15:37:55 +02:00