Commit Graph

189 Commits

Author SHA1 Message Date
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
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 4f6e06bf59
Use react-native-screens
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-07-01 09:30:19 +03:00
Roman Volosovskyi 2ad4c9c054
upgrade react-navigation 2019-06-19 12:00:22 +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
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
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
Roman Volosovskyi 24a978d442
Migrate to RN 0.59.2 2019-04-01 17:42:57 +03:00
tbenr b1331378d5
fixes #6597
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-06 17:09:58 +01: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
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
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 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
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
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
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 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
Roman Volosovskyi 2b8a29817a
small changes for coordination of docs and latest addition of RN fork 2018-06-29 16:26:08 +03:00
Roman Volosovskyi f27e4fe57e
build React Native from fork 2018-06-29 06:56:07 +03: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
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
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
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
Jakub Sokołowski f97fec1547
update jenkinsfiles and build.gradle to use build_no.sh 2018-05-07 15:37:54 +02:00
kwingram25 90eb2aaaa1
[FEATURE] Encrypt realms 2018-05-02 15:02:54 +02:00
Eric Dvorsak 26b0224236
remove crypto libraries and nodeify hack
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-04-06 13:30:27 +02:00
Roman Volosovskyi 74281a742f
upload release to iTC/PM 2018-04-05 20:34:41 +01:00
Dmitry Novotochinov 8bbb2f8760
update instabug to 2.8.1
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-30 18:37:19 +03:00
Dmitry Novotochinov 6786123765
[#3593] Hide passphrase field during TestFairy session
Switch to react-native version of TestFairy

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-29 13:09:23 +03:00
Andrey Shovkoplyas c1c5854cb1
removed unused npm modules, screens, components
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-26 20:45:43 +03:00
Eric Dvorsak 0b0405d9a5
[fix #3163] remove phone command
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 15:48:53 +01:00
Foo Pang cd90e59325
[Fix #2408] Alternative setTimeout for long timers
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-02-05 23:44:42 +08:00
alwxndr 03e62548a6 [#3007] Removed location command 2018-02-01 22:25:50 +01:00
pacamara 6dd585f3e0
issue 3037: Fix android compilation warnings
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-01 15:27:11 +03:00
pacamara 86be7071a0
[Fix #2834] Migrate android build to latest gradle plugin
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-13 18:58:46 +09:00
Eric Dvorsak 56c59c741f update react-native and project dependencies
[#bug] fix realm version
2017-12-15 16:06:13 +01:00
Julien Eluard 3140081d59 WIP 2017-12-08 16:36:38 +01:00
Roman Volosovskyi 8137c802fe print status-go logs in adb logcat 2017-10-16 09:10:12 +02:00
Roman Volosovskyi 133bd2da7b use custom Function interface instead of java 8 2017-09-26 14:01:04 +02:00
Roman Volosovskyi 141ef4e631 wrap Statusgo.CallRPC with Function<> and pass to webview-bridge 2017-09-26 07:46:38 +02:00
Oskar Thorén e169949e0a Push notifications: Spike for Android
- Print FCMToken which can be used to send PNs from Firebase Console
- Include react-native-fcm and related packages
- Update capabilities for iOS
- google service config files for Android and iOS
2017-08-30 13:58:52 +02:00
Andrey Shovkoplyas be57d85147 implemented svg icons 2017-08-30 11:09:27 +02:00
Roman Volosovskyi 2102740a69 add react-native-config 2017-08-10 12:57:37 +03:00
Julien Eluard c378098d3b Fixed multidex configuration for android 4.4 2017-08-09 16:02:32 +03:00
Andrey Shovkoplyas 5051d1ce9e /location command 2017-07-10 18:20:58 +03:00
alwx 5c15df9b64 /send and /request commands; commands in group chats and fixes for parameter and result boxes 2017-07-10 12:41:30 +03:00
Roman Volosovskyi 348fe17816 disable split screen mode on Android (#1368)
* disable split screen mode on Android

* increase compileSdkVersion
2017-06-28 08:49:46 +03:00
alwx 2c90faab86 No more react-native-network-info, updated /debug command response 2017-06-01 10:18:04 +03:00
alwx 504e3493ef Runtime permissions (#762) 2017-04-28 16:45:01 +03:00
Alexander Pantyuhov 8c262d0b07 Upgrade to React Native 0.43 (#1079)
* React Native 0.40 migration (#1076)
2017-04-24 17:50:16 +03:00
alwx 43667ea6ac Showing device's IP (#807) 2017-03-03 17:54:44 +02:00
alwx bf27c55398 Development tools (#719) 2017-02-13 12:14:28 +02:00
alwx 0944df715f NFC access for Dapps (#670) 2017-01-30 18:03:16 +02:00
Jarrad Hope 9ac00ad41f git and tag based versioning 2016-12-08 16:33:39 +02:00
alwx dd8f4093b4 Orientation fix (#495) 2016-11-28 22:06:56 +03:00
Alexander Pantyukhov 4ffbea6a6a Share Address/Public Key (#485) 2016-11-27 17:38:42 +02:00
Roman Volosovskyi 64a9847b21 fix #452 2016-11-18 16:49:51 +02:00
Adrian Tiberius bbdf1a7271 add splash screen 2016-11-15 13:51:14 +02:00
Jarrad Hope a37ff23825 instabug integration 2016-11-15 09:22:19 +02:00