Commit Graph

138 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
yenda 7bb45fdd8f
remove firebase
Signed-off-by: yenda <eric@status.im>
2019-10-29 15:03:58 +01: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 58d310ffce
Remove RAM bundle support 2019-08-30 17:13:35 +02:00
Andrey Shovkoplyas 2e06dd36da
remove unused resources
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-22 18:27:06 +03: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
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
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
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
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
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
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
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 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 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
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
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
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
Pedro Pombeiro fa26381407
Define NSLog macro. Fixes #3427
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-16 16:49:55 +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
alwxndr 03e62548a6 [#3007] Removed location command 2018-02-01 22:25:50 +01:00
Eric Dvorsak 56c59c741f update react-native and project dependencies
[#bug] fix realm version
2017-12-15 16:06:13 +01:00
David Balatero e83adf1b46 Run build script against the develop branch 2017-12-11 12:46:04 +02:00
Roman Volosovskyi 8886bfd5d0
JavaScriptCore jail as alternative for Otto vm 2017-12-05 12:09:34 +02:00
Oskar Thorén 7540dda41d Push notifications: remove and disable Firebase analytics
- Remove Firebase from Podfile (iOS)
- Compile without Pods by manually linking frameworks (iOS)
- Remove FirebaseAnalytics framework (iOS)
- Disable Firebase analytics collection in settings permanently (iOS, Android)
2017-10-03 16:40:49 +02:00
Roman Volosovskyi 8c044d9991 stub for ReactNativeModule 2017-09-15 14:15:32 +03:00
Oskar Thorén ed3597fd7c Tooling: Send app device logs to Testfairy properly
React Native uses 'asl' to do logging, not NSLog, so we have to hook into that
to get logs sent to Testfairy. This means we get all the app device logs you
normally get in development, not just whatever happens in JS land.

- Modified default logging function when flag is set
- Delete Prefix header file and NSLog Macro
2017-09-10 12:22:49 +03:00
Oskar Thorén 2af025abc3 Tooling: RN logs in release builds on iOS device
- DEBUG_LOGS_ENABLED flag enabled everywhere but production
- Adjust log level to conditionally show debug and RN logs
- PrefixHeader for sending app logs to Testfairy
2017-09-09 14:31:48 +03:00
Oskar Thorén 949adbddb3 Exit iOS RN parent script when failing 2017-09-08 16:19:10 +03:00
Oskar Thorén d8a641d483 Update to recommended settings proposed by Xcode 8.3.3 and Cocoapods
- Correctly parameterized PRODUCT_BUNDLE_IDENTIFIER
- Automatically set architecture based on hardware available
- Update iOS deployment target to 8.0 (minimal deployment target for latest Xcode)
- Enable recommended warnings (infinite recursion, etc)
- Enable Testability for debug configuration

Podfile updated to version 8.0 target, as this is assumed by default with this warning:

"[!] Automatically assigning platform ios with version 8.0 on target StatusIm because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`."
2017-08-31 11:34:41 +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
Andrey Shovkoplyas 7506689fe5 navigation refactoring #1609 2017-08-16 13:13:38 +03:00
Roman Volosovskyi 2102740a69 add react-native-config 2017-08-10 12:57:37 +03:00
alwx 32b64dcdb9 App no longer crashes if start deleting url while browsing (#1468) 2017-07-25 11:15:49 +03:00
Roman Volosovskyi 670f873d2e testfairy integration on iOS, update testfairy key for Android version 2017-07-17 14:27:22 +03:00
Andrey Shovkoplyas 5051d1ce9e /location command 2017-07-10 18:20:58 +03:00
Roman Volosovskyi 6f6849f635 use status-go's hackaton-alt branch 2017-06-02 17:45:02 +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 a15fb7e2a8 New chat input & suggestions area; new handlers to work with the improved logic (#880) 2017-04-13 18:17:56 +03:00
Andrey Shovkoplyas 210a4823c9 implemented custom title for toolbar with search
added dapp icon to contact, fixed styles, fixed context menu warning,

implemented search input clearing, fixed styles, reworked styles

fixes for https://github.com/status-im/status-react/pull/826 code review

revert toolbar

contacts styles. global toolbar styles

toolbar style and small fixes for contacts

group contacts edit mode

groups reorder screen
2017-04-13 18:15:40 +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
Roman Volosovskyi a57da3e086 add webview bridge based on WKWebView 2016-12-20 11:58:03 +02:00
Roman Volosovskyi fc39346bc2 inject web3 before page loading in webview (works only on android) 2016-12-19 14:40:16 +02:00
Roman Volosovskyi 915394b058 fix LATEST_TAG in iOS versions script 2016-12-09 09:51:19 +02:00
Jarrad Hope 9ac00ad41f git and tag based versioning 2016-12-08 16:33:39 +02:00
Roman Volosovskyi 692de70933 debug and release mode on real iOS device 2016-11-30 12:22:02 +02:00
alwx 6eac6d21f4 React Native upgrade (0.38.0), fix for unhandled promise rejection (#414) 2016-11-29 12:50:40 +03:00
Alexander Pantyukhov 4ffbea6a6a Share Address/Public Key (#485) 2016-11-27 17:38:42 +02:00
Jarrad a62c4b1c78 Merge pull request #469 from status-im/package-name
Change package name to im.status.ethereum
2016-11-20 18:18:59 +08:00
Roman Volosovskyi 80be20666b send command styling 2016-11-18 17:13:38 +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
Alexander Pantyuhov d6c4c36f80 Chat list and contact list UI fixes (#291, #274, #275)
Former-commit-id: decc2188e6
2016-10-05 15:02:36 +03:00
Roman Volosovskyi 87824f4697 Console chat cosmetic changes. Fixes #281, #284, #285, #287
Former-commit-id: 6effc91d3c
2016-10-04 11:35:32 +03:00
alwxndr 311a61bc7f multiline text input (#255), correct assets for iOS
Former-commit-id: 149442100e
2016-09-27 16:37:26 +03:00
alwxndr 7279f2bc19 fixes to make registration work on iOS (#232), other iOS fixes
Former-commit-id: cdebb4c312
2016-09-22 13:55:28 +03:00
Vasiliy e3523567af ios build
Former-commit-id: 22b0135665
2016-09-19 15:50:02 +03:00
Adrian Tiberius 5ae858da0d merged and refactored react-native-status
Former-commit-id: 782ea08589
2016-09-07 20:35:04 +03:00
alwxndr 1b480a1a58 * new my-profile screen
* ability to edit profile data
* ability to update status (we save it internally for now)
* ability to change profile picture (from camera or gallery)
* enhanced way of storing profile-related data in realm and internal state db


Former-commit-id: 91d8ecc4bd
2016-08-06 11:58:04 +03:00
alwxndr cb2709cef4 * ios-related fixes;
* separate components for geth and jail (required for ios app);
* status bar for both ios and android
* style fixes (including better login screen on Android);
* internal re-natal package


Former-commit-id: 47b3e7fe08
2016-07-29 14:49:52 +03:00
alwxndr 75d6313511 react-native upgrade, re-natal upgrade, dependencies updates and fixes to make ios builds work
Former-commit-id: ba1365fa0a
2016-07-27 18:21:19 +03:00
Jarrad 2609cbfeea fix ios build
Former-commit-id: ae77cdd738
2016-05-20 11:04:20 +02:00