Rocket.Chat mobile clients
Go to file
Diego Mello 61afa86c0e
[NEW] Passcode and biometric unlock (#2059)
* Update expo libs

* Configure expo-local-authentication

* ScreenLockedView

* Authenticate server change

* Auth on app resume

* localAuthentication util

* Add servers.lastLocalAuthenticatedSession column

* Save last session date on background

* Use our own version of app state redux

* Fix libs

* Remove inactive

* ScreenLockConfigView

* Apply on saved data

* Auto lock option label

* Starting passcode

* Basic passcode flow working

* Change passcode

* Check if biometry is enrolled

* Use fork

* Migration

* Patch expo-local-authentication

* Use async storage

* Styling

* Timer

* Refactor

* Lock orientation portrait when not on tablet

* share extension

* Deep linking

* Share extension

* Refactoring passcode

* use state

* Stash

* Refactor

* Change passcode

* Animate dots on error

* Matching passcodes

* Shake

* Remove lib

* Delete button

* Fade animation on modal

* Refactoring

* ItemInfo

* I18n

* I18n

* Remove unnecessary prop

* Save biometry column

* Raise time to lock to 30 seconds

* Vibrate on wrong confirmation passcode

* Reset attempts and save last authentication on local passcode confirmation

* Remove inline style

* Save last auth

* Fix header blink

* Change function name

* Fix android modal

* Fix vibration permission

* PasscodeEnter calls biometry

* Passcode on the state

* Biometry button on PasscodeEnter

* Show whole passcode

* Secure passcode

* Save passcode with promise to prevent empty passcodes and immediately lock

* Patch expo-local-authentication

* I18n

* Fix biometry being called every time

* Blur screen on app inactive

* Revert "Blur screen on app inactive"

This reverts commit a4ce812934.

* Remove immediately because of how Activities work on Android

* Pods

* New layout

* stash

* Layout refactored

* Fix icons

* Force set passcode from server

* Lint

* Improve permission message

* Forced passcode subtitle

* Disable based on admin's choice

* Require local authentication on login success

* Refactor

* Update tests

* Update react-native-device-info to fix notch

* Lint

* Fix modal

* Fix icons

* Fix min auto lock time

* Review

* keep enabled on mobile

* fix forced by admin when enable unlock with passcode

* use DEFAULT_AUTO_LOCK when manual enable screenLock

* fix check has passcode

* request biometry on first password

* reset auto time lock when disabled on server

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-05-08 14:04:37 -03:00
.circleci Update all dependencies (#2008) 2020-05-08 13:37:49 -03:00
.github [CHORE] Update issue template (#638) 2019-02-20 09:05:14 -03:00
__mocks__ Update all dependencies (#2008) 2020-05-08 13:37:49 -03:00
__tests__ Update all dependencies (#2008) 2020-05-08 13:37:49 -03:00
android [NEW] Passcode and biometric unlock (#2059) 2020-05-08 14:04:37 -03:00
app [NEW] Passcode and biometric unlock (#2059) 2020-05-08 14:04:37 -03:00
e2e [NEW] Custom Status (#1811) 2020-03-30 17:19:01 -03:00
ios [NEW] Passcode and biometric unlock (#2059) 2020-05-08 14:04:37 -03:00
patches [NEW] Passcode and biometric unlock (#2059) 2020-05-08 14:04:37 -03:00
storybook Update all dependencies (#2008) 2020-05-08 13:37:49 -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 Update all dependencies (#2008) 2020-05-08 13:37:49 -03:00
.snyk Switch push notification lib (#346) 2018-07-10 10:40:32 -03:00
.watchmanconfig Initial commit 2017-08-03 15:23:43 -03:00
LICENSE Create LICENSE 2018-04-21 15:24:08 -03:00
README.md [NEW] Create discussions (#1942) 2020-03-30 16:50:27 -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] Passcode and biometric unlock (#2059) 2020-05-08 14:04:37 -03:00
react-native.config.js [REVERT] Show emoji keyboard on Android (#1738) 2020-02-17 09:14:56 -03:00
yarn.lock [NEW] Passcode and biometric unlock (#2059) 2020-05-08 14:04:37 -03:00

README.md

Rocket.Chat Mobile

Project Dependencies Codacy Badge codecov CodeFactor

Supported Server Versions: 0.70.0+

Download

Official apps

Download on Google Play Download on App Store

Experimental apps

Download on Google Play Download on App Store

Beta Access

TestFlight

You can signup to our TestFlight builds by accessing these links:

Google Play beta

You can subscribe to Google Play Beta program and download latest 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.

Installing dependencies

Follow the React Native Getting Started Guide for detailed instructions on setting up your local machine for development.

How to run

  • Clone repository and install dependencies:

    $ git clone git@github.com:RocketChat/Rocket.Chat.ReactNative.git
    $ cd Rocket.Chat.ReactNative
    $ yarn
    
  • Run application

    $ npx react-native run-ios
    
    $ npx react-native run-android
    

Running single server

If you don't need multiple servers, there is a branch single-server just for that. Readme will guide you on how to config.

Current priorities

  1. Omnichannel support
  2. E2E encryption

Features

Feature Status
Jitsi Integration
Federation (Directory)
Discussions
Omnichannel
Threads
Record Audio
Record Video
Commands
Draft message per room
Share Extension
Notifications Preferences
Edited status
Upload video
Grouped messages
Mark room as read
Mark room as unread
Tablet Support
Read receipt
Broadbast Channel
Authentication via SAML
Authentication via CAS
Custom Fields on Signup
Report message
Theming
Settings -> Review the App
Settings -> Default Browser
Admin panel
Reply message from notification
Unread counter banner on message list
E2E Encryption
Join a Protected Room
Optional Analytics
Settings -> About us
Settings -> Contact us
Settings -> Update App Icon
Settings -> Share
Accessibility (Medium)
Accessibility (Advanced)
Authentication via Meteor
Authentication via Wordpress
Authentication via Custom OAuth
Add user to the room
Send message
Authentication via Email
Authentication via Username
Authentication via LDAP
Message format: Markdown
Message format: System messages (Welcome, Message removed...)
Message format: links
Message format: images
Message format: replies
Message format: alias with custom message (title & text)
Messages list: day separation
Messages list: load more on scroll
Messages list: receive new messages via subscription
Subscriptions list
Segmented subscriptions list: Favorites
Segmented subscriptions list: Unreads
Segmented subscriptions list: DMs
Segmented subscriptions list: Channels
Subscriptions list: update user status via subscription
Numbers os messages unread in the Subscriptions list
Status change
Upload image
Take picture & upload it
2FA
Signup
Autocomplete with usernames
Autocomplete with @all & @here
Autocomplete room/channel name
Upload audio
Forgot your password
Login screen: terms of service
Login screen: privacy policy
Authentication via Google
Authentication via Facebook
Authentication via Twitter
Authentication via GitHub
Authentication via GitLab
Authentication via LinkedIn
Create channel
Search Local
Search in the API
Settings -> License
Settings -> App version
Autocomplete emoji
Upload file (documents, PDFs, spreadsheets, zip files, etc)
Copy message
Pin message
Unpin message
Channel Info screen -> Members
Channel Info screen -> Pinned
Channel Info screen -> Starred
Channel Info screen -> Uploads
Star message
Unstar message
Channel Info screen -> Topic
Channel Info screen -> Description
Star a channel
Message format: videos
Message format: audios
Edit message
Delete a message
Reply message
Quote message
Muted state
Offline reading
Offline writing
Edit profile
Reactions
Custom emojis
Accessibility (Basic)
Tap notification, go to the channel
Deep links: Authentication
Deep links: Rooms
Full name setting
Read only rooms
Typing status
Create channel/group
Disable registration setting
Unread red line indicator on message list
Search Messages in Channel
Mentions List
Attachment List
Join a Room

Detox (end-to-end tests)

  • Build your app
$ detox build --configuration ios.sim.release
  • Run tests
$ detox test --configuration ios.sim.release

Storybook

  • Open index.js

  • Uncomment following line

import './storybook';
  • Comment out following lines
import './app/ReactotronConfig';
import { AppRegistry } from 'react-native';
import App from './app/index';
import { name as appName } from './app.json';

AppRegistry.registerComponent(appName, () => App);
  • Start your application again