Commit Graph

251 Commits

Author SHA1 Message Date
Jakub Sokołowski aca703a011
major nix refactor
Changes:
- Adds a new `nix-gc` Makefile target for removing old packages
- Moves all `nix/*.sh` files to `nix/scripts/*.sh` to make things more tidy
- Renames `TARGET_OS` into `TARGET` and makes it effective only with `nix/scripts/shell.sh`
- Renames `target-os` Nix argument to just `target` and makes it effective only with `shell.nix`
- Drops `IN_CI_ENVIRONMENT` env variable which was useless
- Drops use of `target-os` argument outside of `shell.nix` (with few exceptions, but just in naming)
- `nix/platform.nix` has been made obsolete and removed
- Moves the definition of all major targets to `nix/targets.nix`
- Moves the definition of all major shells to `nix/shells.nix`
- Makes `default.nix` and `shell.nix` just thin wrappers around `nix/default.nix`
- `nix/nixpkgs-bootstrap.nix` has been moved to `nix/pkgs.nix`
- All package and tool overrides have been moved to `nix/pkgs.nix`
- Explicit passing of contents of `pkgs` has been removed in favor of `callPackage` doing it for us
- `nix/bootstrapped-shell.nix` has been moved to `nix/tools/mkShell.nix`
- A new `mergeSh` tool has been added to `pkgs` from `nix/tools/mergeSh.nix`
  - This tool is used to merge shells created using `mkShell`
- `mobile/targets/jsbundle.nix` has been moved to `mobile/android/jsbundle/default.nix`
- Moves `status-go` version sanitization to `nix/status-go/utils.nix`
- Renames version to rawVersion and versionName to cleanVersion in status-go derivation
- Ports nix/mobile/ios/install-pods-and-status-go.sh to Nix sub-shells
- Moves adjustment of `inotify/max_user_watches` out into `scripts/inotify_fix.sh`
- Makes iOS builds use the Nix version of Fastlane

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-12 18:51:21 +01:00
Roman Volosovskyi 907b35cedd
Migrate to RN 0.61.5
This change allows to fix status bar on iOS in dark mode #9470
2019-12-04 08:52:02 +02:00
Roman Volosovskyi cd0486227d
[#9470] ignore dark mode on iOS
Status bar still has to be fixed
2019-12-02 19:13:21 +02:00
Andrey Shovkoplyas 507cc5cf39
send transaction GUI
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-27 14:32:04 +01:00
dependabot-preview[bot] 463b4111b2 Bump @react-native-community/netinfo in /mobile/js_filesBumps [@react-native-community/netinfo](https://github.com/react-native-community/react-native-netinfo) from 4.2.2 to 4.4.0.- [Release notes](https://github.com/react-native-community/react-native-netinfo/releases)- [Changelog](https://github.com/react-native-community/react-native-netinfo/blob/master/CHANGELOG.md)- [Commits](https://github.com/react-native-community/react-native-netinfo/compare/v4.2.2...v4.4.0)Signed-off-by: dependabot-preview[bot] <support@dependabot.com> 2019-10-31 11:12:11 +01:00
yenda 7bb45fdd8f
remove firebase
Signed-off-by: yenda <eric@status.im>
2019-10-29 15:03:58 +01:00
Jakub Sokołowski b8d3ef3aa5
combined node package upgrade prs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-17 12:43:17 +02:00
Andrey Shovkoplyas df098f82f6
[#8977] [Multi-account] Allow user to choose wallet for DApp transactions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-11 11:08:56 +02:00
Marcus R. Brown 22de1f7490
Fix sticker pack installation buttons
- Fix sticker pack installation buttons
- Add "↓ Free" text and update "Install" text
- Distinguish between owned and free sticker sets
- Rename owned -> owned? in price-badge
- Add tiny-snt icon
- Update the sticker price badge icon and padding

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-09 08:25:29 +02:00
Pedro Pombeiro fcfc7f346e
Fix RNGestureHandler version in Podfile.lock
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-10-05 10:26:31 +02:00
Andrey Shovkoplyas b3d04bb68c
[#8966] biometric
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-04 12:43:32 +02:00
dependabot-preview[bot] 54a3e64c2e
Bump react-native-shake from 3.3.1 to 3.4.0 in /mobile/js_files
Bumps [react-native-shake](https://github.com/Clip-sub/react-native-shake) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/Clip-sub/react-native-shake/releases)
- [Commits](https://github.com/Clip-sub/react-native-shake/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-30 10:37:04 +02:00
dependabot-preview[bot] e6b6deeb04 Bump @react-native-community/netinfo in /mobile/js_filesBumps [@react-native-community/netinfo](https://github.com/react-native-community/react-native-netinfo) from 4.2.1 to 4.2.2.- [Release notes](https://github.com/react-native-community/react-native-netinfo/releases)- [Changelog](https://github.com/react-native-community/react-native-netinfo/blob/master/CHANGELOG.md)- [Commits](https://github.com/react-native-community/react-native-netinfo/compare/v4.2.1...v4.2.2)Signed-off-by: dependabot-preview[bot] <support@dependabot.com> 2019-09-24 09:56:23 +02:00
tbenr f7076016d8
fixes #8071
Signed-off-by: yenda <eric@status.im>
2019-09-20 17:54:23 +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
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 58ed03f976
Remove unused node modules
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-30 17:14:50 +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
Andrey Shovkoplyas 2e06dd36da
remove unused resources
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-22 18:27:06 +03:00
Jakub Sokołowski 06dd2e5293
use wait-for.sh to fix nix/clean.sh race condition
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-21 18:53:00 -04:00
yenda 16fac293ba
fix #8580 typo in ios permission dialog
Signed-off-by: yenda <eric@status.im>
2019-07-26 12:46:23 +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
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
Jakub Sokołowski 068d726164
upgrade react-native: 0.59.9 > 0.59.10
This is due to issues with 64 bit builds, for more details:
https://github.com/facebook/react-native/issues/24261

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-05 09:08:05 -04:00
Pedro Pombeiro 977f1cd936
Remove RN patch 2019-07-05 13:40:31 +02: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
Igor Mandrigin 79454938bc
[android, ios] render markdown-ish formatting in chat messages natively.
use patched RN to make sure that heavily-formatted messages don't slow
our chats down.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-06-24 16:50:09 +02:00
Roman Volosovskyi ae52fd07f4
add back tooltip-triangle icon 2019-06-24 17:35:40 +03: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
Pedro Pombeiro ab11a67c96
Move files that don't change per platform to the root 2019-06-06 16:56:24 +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
Pedro Pombeiro 373291bfc0
nix: Avoid bad practice of inheriting pkgs
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-21 12:15:56 +02:00
Roman Volosovskyi 74093f6843
[iOS] Allow to send email with logs on iOS 2019-05-14 12:57:05 +03: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
bitsikka 747ca2b985
[#7915] fix - Text for empty chat state is shown upside down and text direction is strange 2019-04-08 14:47:36 +03:00
Roman Volosovskyi 24a978d442
Migrate to RN 0.59.2 2019-04-01 17:42:57 +03:00
Pedro Pombeiro 3af25381e1
Change shebang in bash scripts 2019-03-21 13:57:00 +01:00
Pedro Pombeiro 692de32931
Migrate from installing tooling the traditional way to Nix 2019-03-21 13:56:57 +01: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
tbenr b1331378d5
fixes #6597
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-06 17:09:58 +01:00
kn 6988950ea8
[#6973] Replace react-native-i18n with react-native-languages 2019-02-09 23:27:46 -08:00
Pedro Pombeiro d3f1b37c12
Use new status-go and rename NotifyUsers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-24 15:41:32 +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
Dmitry Novotochinov 962c49e345
add keycard installation
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-12-20 15:43:37 +03: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
Andrea Maria Piana 9629983f7f
Remove instabug 2018-10-19 09:18:22 +03:00
Roman Volosovskyi 4c426d9c2b
remove the rest of testfairy's mentions from the project 2018-10-18 20:54:59 +03:00
Roman Volosovskyi c338896018
[#6330] remove testfairy 2018-10-16 20:46:43 +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
Igor Mandrigin 908c0eff46
Remove unnecessary fonts from our app bundle.
Remove unused fonts on Android.
2018-09-28 20:04:27 +03: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
Jakub Sokołowski ce741d75e9
workaround for dependency failures when doing pod update
https://github.com/firebase/firebase-ios-sdk/issues/1845#issuecomment-422831481

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-19 14:13:22 -04:00
Dmitry Novotochinov 482bea2e95
update react-native-camera version 2018-09-05 22:13:37 +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
Igor Mandrigin 9b6d538e6d
Add permission descriptions for iOS.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 10:53:11 -04:00
Igor Mandrigin 02545cc3d0
Implement "Save Password" for iOS.
Update react-native-keychain to 3.0.0 release.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-27 17:09:55 +02: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
Igor Mandrigin 43263a9abe
Post-fastlane cleanup. Remove unnecessary plist files.
This functionality is handled in `fastlane/Fastfile` now.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-16 12:58:08 +02:00
Igor Mandrigin 8f13d97b43
Use fastlane for iOS builds.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-14 10:43:53 +02: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
Igor Mandrigin daf30f2bc6
[#4823] AppStoreConnect: Mark our iOS app as encryption-compliant.
To avoid specifying that we are compliant manually for every build,
we put these values into build setting of the iOS app.
More information on how to do that is here: https://stackoverflow.com/a/36028077

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-09 14:45:31 +02:00
Jakub Sokołowski 4d1900516f
move archive.plist settings to the repo
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-07 08:08:13 -04:00
Igor Mandrigin 14398e33cb
[#4662] Enable iPad support for the Status app.
Use a screen-size independent launch image (a storyboard).

See more at: https://oleb.net/blog/2014/08/replacing-launch-images-with-storyboards/

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-10 11:47:24 +03:00
Roman Volosovskyi ff4071b7b5
[#4887] fix lagging keyboard and upgrade RN to 0.55.4 2018-07-06 13:20:28 +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
Igor Mandrigin caba84e439
[#4829] Add a patch that fixes complex input on iOS in RN 0.55.x.
The fix is described here: https://github.com/facebook/react-native/pull/19809

The patch:
1. A copy of patched RCTUITextView.m file
2. A pre-action in the "Build" scheme to patch the RN file. See more on
   pre-actions here: https://burcugeneci.wordpress.com/2016/05/25/scripts-we-love-xcode-builds-life-savers/
3. A build step to fail the build if the file wasn't patched.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-20 13:33:40 +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
Roman Volosovskyi ccce109f0b
[#4541] fix versioning on ios (should be same as on android) 2018-06-01 12:29:34 +03:00
Georgie Mathews 0d0c37e4a9
[FIX #4362] Updates App Icons 2018-06-01 11:35:25 +03: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
Jakub Sokołowski 1633507e95
fix another relative path 2018-05-25 00:11:18 +02:00
Jakub Sokołowski 2bf1d3a128
fix path for getting VERSION for xcode 2018-05-24 23:34:48 +02:00
Jakub Sokołowski f36d55ca70
use commit of VERSION file 2018-05-24 21:52:42 +02:00
Jakub Sokołowski 5049d48835
use VERSIOn instead of calling git 2018-05-24 21:52:42 +02:00
Jakub Sokołowski 60957e70a3
add fix for finding right tag 2018-05-24 21:52:41 +02:00
Stepan Lusnikov 35f7527a1e
Add ios 1024 icon
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 17:56:51 +02:00
Stepan Lusnikov db2f8c1515
Add ability to install multiple ios builds
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-09 11:34:31 +03:00
kwingram25 90eb2aaaa1
[FEATURE] Encrypt realms 2018-05-02 15:02:54 +02:00
Roman Volosovskyi 924d16dc64
fix version in release build 2018-04-18 09:44:39 +01: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
Marco Süß 3ba9bdef7b
[ISSUE #3651] change console to look like a dev tool
- rename "Console" to "Status Console"
- hide console dapp badge in home screen
- change icon to something terminal-y
- change empty screen text for console chat

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-02 18:56:07 +03: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
Julien Eluard 4145a31a2d
Simplify Jenkins files and remove needs for develop branch
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-19 19:07:46 +01:00
Pedro Pombeiro fa26381407
Define NSLog macro. Fixes #3427
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-16 16:49:55 +03:00
Itoh, Masaru 35e8278e8c
Upgrade react native to 0.53.3
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-02 12:21:21 +03:00
Foo Pang eba8df6703
[Fix #2719] App does not fit on iPhone X screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-12 20:57:07 +03:00