Dmitry Novotochinov
feffcaf33d
[ #7133 ] sign tx with keycard
...
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-04-02 18:07:41 +03:00
Andrea Maria Piana
29c168dfa1
Upgrade status-go and turn chaos mode on
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-26 10:59:21 +01:00
Andrea Maria Piana
530a6dca2e
Stop activity if we cant start node
...
Currently when receiving a push notification while the app has not
started (on android), the whole app is woken up. If autologin is enabled, we will try
to start the node, but will fail has no activity has been attached.
In such cases we try for 10s and quit the app if not successful.
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-03-21 16:33:16 +01:00
Andrey Shovkoplyas
ba37f7b8d0
[ #5461 ] Implement EIP-712
...
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-07 15:39:17 +01:00
Andrea Franz
d4594d815f
add hash-transaction and send-transaction-with-signature
...
Signed-off-by: Andrea Franz <andrea@gravityblast.com>
2019-03-04 11:19:50 +01:00
Igor Mandrigin
9ba0bda8f7
Use gomobile binaries (again)
...
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-14 10:19:24 +01:00
Igor Mandrigin
3617fefbe9
Revert "Use gomobile binaries for iOS and Android."
...
This reverts commit c47fc34127
.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-12 12:34:27 +01:00
Adam Babik
c47fc34127
Use gomobile binaries for iOS and Android.
...
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-12 10:21:31 +01:00
Dmitry Novotochinov
1b836bf7ec
[ #7006 ] login with keycard
...
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-02-06 00:20:07 +03: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
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
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
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
Andrea Maria Piana
d760f1696c
Add mailservers confirmations & use peer count for online status
...
We now check that we are only connected to some `peers` instead of using `NetInfo` from `react-native`.
This is because it has been reported to be quite flaky at times, not reporting online status after sleeping, and for privacy concerns (on ios it pings `apple.com`, on desktop `google.com`).
Adds a new banner `Wallet Offline` and change `Connecting to peers` to `Chat offline`.
A message will be marked as `Sent` only if it made it to the mailserver you are connected to, which will increase the guarantees that we can make about a message (if you see it as sent, it has reached at least a mailserver), this has the consequence that:
- If you are not connected to any mailserver or the mailserver is non responsive/down, and you send a message, it will be marked as `Not sent`, although it might have been actually made it in the network.
Probably this is something that we would like to communicate to the user through UX (i.e. tick if made it to at least a peer, double tick if it made to a mailserver )
Currently I have only enabled this feature in nightlies & devs, I would give it a run and see how we feel about it.
2018-12-12 19:53:01 +01:00
Roman Volosovskyi
4aa562f6a8
[slow sign in] Unlock account's DB before starting node
...
There is no need to wait for `Statusgo.Login` callback in order to start
unlocking realm db: currently it is encrypted via a key which is derived
from user’s password, so we can try to unlock that DB before starting
node. That’s how password will be checked. Right after that `:home`
screen is shown, the node is started, then `Statusgo.Login` executed.
The difference in sign in duration is more noticeable on Android
devices, where `Statusgo.Login` is much slower because of PFS database
encryption.
2018-12-12 17:46:52 +02:00
Andrea Maria Piana
693eae9cf9
Send your own messages
...
Adds a `chat-id` field in `content` map.
The reason it has been added to the map instead of augmenting transit is
that it would simplify the calculation of `message-id`, which in this
case is consistent for both old & new clients.
`chat-id` also represents the `chat-id` with respect of the sender, as
in 1-to-1 chats that is asymmetric.
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-06 21:19:50 +01:00
Andrea Maria Piana
9629983f7f
Remove instabug
2018-10-19 09:18:22 +03:00
Andrea Maria Piana
78b6d67d79
Allow to edit group membership
...
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-09 10:40:13 +02:00
Andrea Maria Piana
165f1a46c7
Propagate signed membership information
...
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-02 12:06:28 +02:00
Pedro Pombeiro
4ab5e43616
Replace call to `GenerateConfig` with local JSON. Closes #5739
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-19 17:06:10 +02:00
Eric Dvorsak
8d053b4389
[feature #5527 ] allow user to change status-go loglevel in settings
2018-09-07 15:22:32 +02:00
Adam Babik
f054830533
Set FLEET in env variable
...
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-22 10:21:58 +02:00
pacamara
3f73c5545d
Fixes #5293 : Messaging/transacting take too long to be processed
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-08-21 13:15:16 +02:00
Andrey Shovkoplyas
3e7c059b59
wallet refactoring
...
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-18 07:28:43 +02:00
tbenr
672e8255c4
Fixes #5347
...
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-17 10:41:57 +03:00
Roman Volosovskyi
a586d177f5
remove JSC jail on native side (Android, iOS)
2018-07-29 08:47:29 +03:00
Pedro Pombeiro
3b4d7eebc7
Disable geth.log in release builds. Fixes #4782
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-18 10:25:09 +02:00
Goran Jovic
268b07fddc
feature #4065 - gas and gas price can be changed for dapp transactions
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-12 16:19:51 +02:00
Pedro Pombeiro
03243e4916
Revert "Use the private RPC client for requests to Status backend when not coming from Dapps"
...
This reverts commit 2136fe62ce
.
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-07 18:09:39 +02:00
Pedro Pombeiro
18aaa890a3
Rollback part of 2136fe62ce
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-06-06 08:58:21 +02:00
Pedro Pombeiro
2136fe62ce
Use the private RPC client for requests to Status backend when not coming from Dapps
2018-06-06 09:01:43 +03:00
Andrea Maria Piana
33ad919508
Add custom bootnodes
...
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-30 17:49:13 +02:00
Andrey Shovkoplyas
94becb5094
updated status-go to latest
...
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-11 15:42:16 +02:00
ambilo
9b17cdd306
Remove JSC_ENABLED flag and turn on behavior by default
2018-05-09 14:20:49 +03:00
Roman Volosovskyi
00b8ae311d
[ #4006 ] anonymous uuid for mixpanel
2018-05-04 21:26:46 +02:00
Roman Volosovskyi
0d0be37904
[ #3987 ] disable logging on status-go side if file is not writable
2018-05-02 14:53:35 +02:00
Andrey Shovkoplyas
55d3095b7a
[ #3888 ] [ #2704 ] added personal_sign and CallPrivateRPC methods support
...
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-19 17:43:50 +03:00
pacamara
ef8d5dca6c
Use thread pool instead of new threads on Android. Closes #3690
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-04-17 15:23:49 +02:00
Igor Mandrigin
3008e38624
Send app state changes to status-go.
...
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-21 10:55:45 +01:00
Roman Volosovskyi
b1ce44af3a
implement ConnectionChange call, upgrade status-go
...
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-28 18:38:51 +01:00
Pedro Pombeiro
bb2a008a27
Pass `WhisperConfig.LightClient: true` in node config. Closes #3442
...
- Add code to completely dump the JSON config, not just the first 4000 characters.
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 11:23:45 +01:00
Pedro Pombeiro
a4bc752e77
[ISSUE #2287 ] Push Notifications: Use status-go NotifyUsers
...
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-21 11:10:36 +03:00
Roman Volosovskyi
6c72b6d5db
fix geth.log on Android
2018-01-25 12:54:48 +02:00
Pedro Pombeiro
1c5cf7fe4b
[ fix #2925 ] Fix messed-up merge in b87a52e2d
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-01-16 12:48:08 +01:00
Pedro Pombeiro
9631552251
[ref status-im/status-go#229 ] Do not delete the geth.log file at startup. Allow the new log rotate logic in status geth to handle that
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-01-16 10:51:20 +01:00
Pedro Pombeiro
b87a52e2d4
[ fix #2925 ] Fix invalid log level string passed in JSON to geth
...
Caused missing password prompt regression
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-01-16 10:47:49 +01:00
Roman Volosovskyi
6c3c85b9cc
fix #2771 by invoking jail.callJail in the same thread
2018-01-08 17:40:19 +02:00
Pedro Pombeiro
96ff13a4df
android, ios: Pass log level from env in JSON config to Android and iOS ( #2756 )
...
- Add `LOG_LEVEL_STATUS_GO` feature flag for a differentiated log level in status-go.
- Remove superfluous `DEBUG_LOGS_ENABLED` feature flag.
- Enable info-level logging for Jenkins and dev builds.
Signed-off-by: andytudhope <tuddy0525@gmail.com>
2018-01-02 21:03:49 +02:00
Eric Dvorsak
56c59c741f
update react-native and project dependencies
...
[#bug] fix realm version
2017-12-15 16:06:13 +01:00
Oskar Thoren
ce3d5936ec
Offline inboxing: End to end MVP
...
- Turns on flag for dev and Jenkins
- Change enode to peer in requestMessages arg
- Upgrades status-go to get ssh_requestMessages
- Use status-cluster enode
- Fix Android AddPeer binding bug
2017-12-15 10:29:48 +01:00
Roman Volosovskyi
bd017457e3
execute ParseJail synchronously: allows to avoid synchronization deadlocks inside com.github.ericwlange:AndroidJSCore at JSContext instantiation
2017-12-13 16:36:46 +02:00
Oskar Thoren
6d5251ad20
Offline inboxing: integrate AddPeer binding
...
- Add add-peer call to IReactNativeStatus
- Upgrade status-go
- Bindings for addEnode(enode string) in Java and ObjC
2017-12-05 18:52:22 +01:00
Roman Volosovskyi
8886bfd5d0
JavaScriptCore jail as alternative for Otto vm
2017-12-05 12:09:34 +02:00
Andrey Shovkoplyas
afd7fca6d8
refactored protocol handlers
2017-12-04 23:08:18 +03:00
Oskar Thoren
1f03faa7c6
Bump status-go to develop-g6927638 and fix Android import path
2017-11-27 12:32:50 +01:00
Roman Volosovskyi
f4082951b7
add ETHEREUM_DEV_CLUSTER flag
2017-10-17 13:20:41 +02:00
angusiguess
49429c1c28
Add latch to ensure application messenger is set.
...
There are two ways that messages can reach the StatusService,
application events (which are handled via `handleEvent`) and
signal events (which are handled via `signalEvent`).
If a signal event fires before an application event, it still
uses handleEvent logic, and handleEvent will try to reply to
the message. If the `applicationMessenger` isn't set, the reply
fails and the react native app is never told that the status
node is running, which is why the app gets no messages.
I've added a CountDownLatch, forcing the event handler to wait
for the applicationMessenger to be set before replying to any
messages.
Tested by injecting a long wait into `handleMessage` and observing
the same failure we see in SauceLabs runs.
2017-10-09 18:39:14 +02:00
angusiguess
639606a716
Move message send until after configuration should be loaded
2017-10-06 17:03:18 +02:00
Roman Volosovskyi
2a9ac44564
close app on switching from network with local LES ( #2007 )
2017-10-05 13:23:25 +02:00
Roman Volosovskyi
a7950af335
remove code related to restarting RPC server on entering background ( #2008 )
...
* remove restart-rpc-server, stop-rpc-server, start-rpc-server functions and related code
* clean native code
2017-10-04 21:56:27 +02:00
Roman Volosovskyi
cf7a9845c6
data_store and network_settings from #1115
...
missed default networks
fix :load-default-networks
network settings screen
fix network details screen
networks in account
fix network property saving
update startNode and stopNode on iOS
test RPC proxy on iOS
StopNode and StartNode on androd
pass UpstreamConfig to status-go
upgrade status-go
added default network on login
fixed UI, added vector icons
added network name in drawer
migrated accounts
workaround for account v4 migration
2017-10-02 14:13:10 +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
b5c0b24f30
Push notifications: end to end v1
...
- Send notification when sending message in 1on1 chat
- Add notify FFI with binds for ObjC and Java
- Add fcm-token to contacts in spec and realm
- Add notifications to db
- Include fcm-token in contact request
- Update fcm-token when it arrives and put it in DB
- Disable copy-paste hijacking and popup
- Turn on notifications flag in Jenkins build
2017-09-18 16:28:04 +03:00
Roman Volosovskyi
0ada614d62
utilise CallRPC in react-native-status module
2017-08-09 19:38:48 +03:00
Roman Volosovskyi
e164a7a375
upgrade status-go
2017-06-26 09:59:45 +03:00
Roman Volosovskyi
3bc19e69b1
attach geth.log to Instabug reports
2017-05-22 18:28:45 +03:00
Roman Volosovskyi
d9ecb20cad
fix #1098
2017-05-03 16:45:23 +03:00
alwx
504e3493ef
Runtime permissions ( #762 )
2017-04-28 16:45:01 +03:00
Roman Volosovskyi
a9d1426426
sendWeb3Request method in StatusModule
2017-04-25 11:00:58 +03:00
Gustavo Nunes
441ca66e96
switch to completeTransactions exposed method
2017-04-25 08:43:01 +03:00
Roman Volosovskyi
7b89adc877
add customized logging on android and whisper ver5 support
2017-04-06 16:18:55 +03:00
Roman Volosovskyi
caa1d6e66a
wipe lightchaindata on first run
2017-04-04 16:02:04 +03:00
Roman Volosovskyi
de41bd0f5f
upgrade status-go
2017-03-19 11:28:52 +02:00
Roman Volosovskyi
58fd0c1134
move statusgo to StatusModule
...
remove StatusService
few minor performance fixes in RN app
2017-01-30 08:09:31 +02:00
Roman Volosovskyi
19e3be5109
make isNodeInitialized instance variable
...
re-init jail on Android
2017-01-20 18:25:17 +02:00
Roman Volosovskyi
285df463e3
reset isNodeInitialized flag when StatusService is destroyed
2017-01-17 18:30:25 +02:00
alwx
101448b963
Ensure browser sessions can not correlate identities between Status account sessions ( #688 )
2017-01-17 17:24:45 +02:00
Roman Volosovskyi
6c1f24b211
handle "Invalid JSON RPC response" error by restarting RPC server
2016-12-12 18:50:46 +02:00
Adrian Tiberius
ac617b73d5
fix null pointer exception
2016-12-08 11:36:56 +02:00
Roman Volosovskyi
2337b547d8
move to Ropsten
2016-11-28 10:54:42 +02:00
Roman Volosovskyi
52b9612098
attempt to fix issue #393
2016-11-22 19:55:36 +02:00
Roman Volosovskyi
64a9847b21
fix #452
2016-11-18 16:49:51 +02:00
Roman Volosovskyi
8a50bd423b
add discardTransaction method to react-native-status module
...
Former-commit-id: cf12c7951d
2016-11-01 18:08:16 +02:00
Roman Volosovskyi
b9d29b7fd8
fix bugs related to release build for android devices
...
Former-commit-id: 53e7ca91d9
2016-10-26 15:16:27 +03:00
Roman Volosovskyi
9a0cc899aa
upgrade status-go
...
Former-commit-id: 4193af3991
2016-10-21 15:14:26 +03:00
Roman Volosovskyi
956da9b82e
rework !send command
...
Former-commit-id: 608243bd3d
2016-10-18 15:40:57 +03:00
Roman Volosovskyi
48030d6ac3
update peer url
...
Former-commit-id: a9a1c7244f
2016-10-13 20:45:50 +03:00
Adrian Tiberius
6224f8b7c0
updated LES peer node url
...
Former-commit-id: f26ddd0c14
2016-09-28 16:05:34 +03:00
Adrian Tiberius
457197c23c
updated the statusgo refactoring changes
...
Former-commit-id: fe1f0b689f
2016-09-15 16:48:53 +03:00
Adrian Tiberius
41b46e0343
fix android6 jni library loading
...
Former-commit-id: 2b54427a25
2016-09-10 18:08:25 +03:00
Adrian Tiberius
5ae858da0d
merged and refactored react-native-status
...
Former-commit-id: 782ea08589
2016-09-07 20:35:04 +03:00