App verdnaturachat
Go to file
Djorkaeff Alexandre e2f17a5a23
[NEW] Encrypt user credentials and preferences (#2247)
* install react-native-mmkv-storage

* wip ios migration

* change all js rn-user-defaults -> react-native-mmkv-storage

* remove all rn-user-defaults native references (iOS)

* android migration from rn-user-defaults to react-native-mmkv-storage

* ios app group accessible mmkv

* handle get errors

* remove access of credentials from legacy native apps

* remove data of user defaults

* remove no longer necessary import

* js mmkv encryption

* run migration only once

* reply from notification android

* fix app group key access at native level ios

* encrypt user credentials using a specific key

* ios encrypt with random key

* use a random key at the first encryption

* encrypt migrated data on js land

* remove unused function

* reply notifications ios should be working

* use fix instanceID

* android ejson retrieve encrypted data

* remove encryption migrated data for a while

* encryption working between app and share extension

* fix patch react-native-notifications

* ssl pinning working using mmkv encrypted data

* improve react-native-notifications

* run encrypt migration data only once

* fix build

* fix patches magic string

* fix mmkv id

* mmkv -> userPreferences

* fix instance id on android migration

* cast our oldest sharedPreferences string into an object

* revert log remove

* create currentServer Rocket.Chat key

* wrap mmkv api class

* change the get logic

* move userPreferences to lib

* move encrypt migrated data to userPreferences class

* check if the new object is new before insert

* invalidate ci yarn cache

* fix sort migration from android shared preferences

* fix splashscreen forever

* invalidate yarn cache

* invalidate yarn cache

* fix patch

* Minor change

* fix android notifications looking for wrong mmkv instance

* Fix some issues on iOS mmkv native access

* Remove unnecessary code

* Fix notification reply and ssl pinning

* WIP NotificationService use MMKV credentials

* Add KeychainGroup

* Notification idOnly get credentials from mmkv

* Some fixes

* Invalidate yarn cache

* Pods

* Use MMKVAppExtension on NotificationService

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-19 14:14:22 -03:00
.circleci [CHORE] Remove Google Services files from repo (#2405) 2020-08-17 14:36:23 -03:00
.github [CHORE] Improve ISSUE_TEMPLATE.md (#2390) 2020-08-10 15:03:04 -03:00
__mocks__ [CHORE] Update react-native-firebase (#2336) 2020-07-24 10:19:17 -03:00
__tests__ [FIX] Vertically centralize RoomItem when `Store_Last_Message` is disabled (#2363) 2020-07-31 14:06:22 -03:00
android [NEW] Encrypt user credentials and preferences (#2247) 2020-08-19 14:14:22 -03:00
app [NEW] Encrypt user credentials and preferences (#2247) 2020-08-19 14:14:22 -03:00
e2e Update readme (#2381) 2020-08-07 11:15:06 -03:00
ios [NEW] Encrypt user credentials and preferences (#2247) 2020-08-19 14:14:22 -03:00
patches [NEW] Encrypt user credentials and preferences (#2247) 2020-08-19 14:14:22 -03:00
storybook [FIX] Vertically centralize RoomItem when `Store_Last_Message` is disabled (#2363) 2020-07-31 14:06:22 -03:00
.bettercodehub.yml Add bettercode (#30) 2017-08-18 14:02:12 -03:00
.buckconfig Initial commit 2017-08-03 15:23:43 -03:00
.eslintignore Use inline requires (#459) 2018-09-26 10:56:36 -03:00
.eslintrc.js [NEW] Passcode and biometric unlock (#2059) 2020-05-08 14:04:37 -03:00
.gitattributes Initial commit 2017-08-03 15:23:43 -03:00
.gitignore [TESTS] Idempotence for e2e tests (#2308) 2020-07-22 13:32:21 -03:00
.snyk Switch push notification lib (#346) 2018-07-10 10:40:32 -03:00
.watchmanconfig [CHORE] Increase "content_hash_max_items" on Watchman (#2181) 2020-06-17 16:25:25 -03:00
CONTRIBUTING.md [DOCS] Refactor Readme (#2382) 2020-08-10 13:31:25 -03:00
LICENSE Create LICENSE 2018-04-21 15:24:08 -03:00
README.md [DOCS] Refactor Readme (#2382) 2020-08-10 13:31:25 -03:00
SECURITY.md [DOCS] Add SECURITY.md (#1244) 2019-09-26 16:18:38 -03:00
app.json [NEW] Share extension (#942) 2019-07-18 14:44:02 -03:00
babel.config.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00
config.js [CHORE] Bugsnag logging setup (#1145) 2019-08-23 10:18:47 -03:00
index.js [FIX] Emoji parser not working on Hermes (#1445) 2019-12-11 16:00:38 -03:00
jsconfig.json Init Redux usage 2017-08-12 22:35:09 -03:00
key.keystore.enc Ci (#25) 2017-08-18 11:50:20 -03:00
metro.config.js [CHORE] Update react-native-jitsi-meet to 2.0.1 (#1249) 2019-09-27 16:16:03 -03:00
package.json [NEW] Encrypt user credentials and preferences (#2247) 2020-08-19 14:14:22 -03:00
react-native.config.js [REVERT] Show emoji keyboard on Android (#1738) 2020-02-17 09:14:56 -03:00
yarn.lock [NEW] Encrypt user credentials and preferences (#2247) 2020-08-19 14:14:22 -03:00

README.md

Rocket.Chat Mobile

Project Dependencies Codacy Badge codecov CodeFactor

  • Supported server versions: 0.70.0+
  • Supported iOS versions: 11+
  • Supported Android versions: 5.0+

Download

Download on Google Play Download on App Store

Check our docs for beta and Experimental versions.

Reporting an Issue

Github Issues are used to track todos, bugs, feature requests, and more.

Also check the #react-native community on open.rocket.chat. We'd like to help.

Contributing

Are you a dev and would like to help? Found a bug that you would like to report or a missing feature that you would like to work on? Great! We have written down a Contribution guide so you can start easily.

Whitelabel

Do you want to make the app run on your own server only? Follow our whitelabel documentation.

Engage with us

Share your story

Wed love to hear about your experience and potentially feature it on our Blog.

Subscribe for Updates

Once a month our marketing team releases an email update with news about product releases, company related topics, events and use cases. Sign Up!