Commit Graph

82 Commits

Author SHA1 Message Date
Dmitry Novotochinov 484e982bdf
Rename 'peer' parameter to 'mailServerPeer' in shh_requestMessages call
To conform to the latest status-go interface

Update status-go build to 'develop-gb7fb51d9'

Remove "from" parameter as it defaults to 0
2017-12-25 20:54:57 +03: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 5739bcbb7b Put status-go in geth.log again
Fix absolute dir and statement order. Regression appears to have been introduced
during network configuration changes 2-3 months ago and noone checked this file
since then.
2017-11-28 20:48:27 +01: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 893900f3ea upgrade status-go to develop-gad9a877 2017-10-20 10:24:58 +02:00
Roman Volosovskyi aa557f3f19 upgrade status-go to develop-gb937245 2017-10-17 18:48:42 +02:00
Roman Volosovskyi f4082951b7 add ETHEREUM_DEV_CLUSTER flag 2017-10-17 13:20:41 +02:00
Oskar Thorén de161c4412 Upgrade status-go to bugfix-no-messaging-rinkeby-gd04e667-12 (geth 1.7 rebase) (#2067)
* Upgrade status-go to bugfix-no-messaging-rinkeby-gd04e667-12 (geth 1.7 rebase)

* [bug] fix #2089 and #2098 with geth update

with geth 1.7 addresses are passed with 0x prefix and mix of lower/upper cases
update the normalize hex function so that addresses are always without prefix
and entirely lower-cased.
2017-10-16 11:49:25 +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 c3b20b2f33 upgrade status-go develop-ge61c39b 2017-09-30 08:56:12 +02:00
Roman Volosovskyi 118a80b73f upgrade status-go to develop-gede939d 2017-09-29 14:48:48 +02:00
Roman Volosovskyi 03b5db7053 upgrade status-go 2017-09-27 09:52:40 +02:00
Roman Volosovskyi 8ef9ff205c upgrade status-go 2017-09-26 14:17:46 +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
Roman Volosovskyi 77e2f51d85 upgrade status-go one more time to develop-g283ae3e 2017-09-19 19:22:45 +03: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 0fa863d366 upgrade status-go to bug-revert-breaking-rpc-refactor-#333-g44344d5 2017-09-18 16:06:22 +03:00
Roman Volosovskyi e961801429 utilize single jail.signal event for all signals from jail 2017-09-18 16:06:22 +03:00
Roman Volosovskyi 43a5d91ca2 upgrade status-go to bugfix-updated-cht-#185-gd84d10d
changes in shh API according to https://github.com/ethereum/go-ethereum/wiki/Whisper-v5-RPC-API
2017-09-18 16:06:22 +03:00
Roman Volosovskyi 0ada614d62 utilise CallRPC in react-native-status module 2017-08-09 19:38:48 +03:00
Julien Eluard c378098d3b Fixed multidex configuration for android 4.4 2017-08-09 16:02:32 +03:00
Roman Volosovskyi e164a7a375 upgrade status-go 2017-06-26 09:59:45 +03:00
Roman Volosovskyi c56fa0c688 localStorage in jail 2017-06-05 16:53:20 +03:00
Roman Volosovskyi 6f6849f635 use status-go's hackaton-alt branch 2017-06-02 17:45:02 +03:00
Roman Volosovskyi 3bc19e69b1 attach geth.log to Instabug reports 2017-05-22 18:28:45 +03:00
Roman Volosovskyi 4655323fbb migrate to new shh api 2017-05-15 08:12:03 +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
Alexander Pantyuhov 8c262d0b07 Upgrade to React Native 0.43 (#1079)
* React Native 0.40 migration (#1076)
2017-04-24 17:50:16 +03:00
Roman Volosovskyi 6b51a9b448 upgrade status-go 2017-04-20 17:44:21 +03:00
Roman Volosovskyi d272bf05a5 fix #990 2017-04-12 12:49:26 +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 72a5acfa61 upgrade status-go 2017-03-10 11:10:32 +02:00
Roman Volosovskyi 1288ffa2d1 upgrade status-go 2017-02-20 21:45:37 +02:00
Roman Volosovskyi f930f9e127 upgrade status-go to 0.9.3 2017-02-16 21:55:31 +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