Commit Graph

28 Commits

Author SHA1 Message Date
Diego Mello 9e4a4d2454
[CHORE] Use react-native-firebase (#928)
We need to migrate from deprecated react-native-fabric to react-native-firebase.
This PR enables following Firebase features:
* Analytics
* Crashlytics
* Performance

It also tracks screen view without the necessity of HOC.

Future work:
I won't do it in this PR because it's large enough, but we need to log more app events, like 'sent_message', 'open_admin', 'media_upload', etc.
2019-05-28 10:03:08 -03:00
pranavpandey1998official 31cf0e5f2f [NEW] Admin (#800)
* added admin panel

* reverting some changes

* fixed problem with authToken

* changed tab to space

* done requested changes

* fixed lint

* added react-native-webview

* Install webview pod
2019-05-18 16:31:33 -03:00
Diego Mello 28628b4dba
Switch toast lib (#898)
* removed toast from ios

* changed showToast to showAlert

* removed from android

* fix lint

* conflict resolved

* fixed lint

* Fix toast position

* Change toast style

* Use followMessage from rest

* Temporary disable some visual toast tests

* Unnecessary lib version change
2019-05-15 16:33:30 -03:00
Diego Mello c873b20833
Migrate from GCM to FCM (#760) 2019-03-25 14:43:55 -03:00
Diego Mello 38dabfc9ff
Switch to react-navigation (#687) 2019-03-12 13:23:06 -03:00
Pranay Ankit e416fe0c68 [FIX] Better message actions (#567) 2019-01-30 10:11:02 -02:00
Diego Mello 402403f964
Update navigation library (#501)
* v2

* Working on Android 0.57.3

* Drawer working

* Removing v1 navigator

* - Splash screen
- Icons changed

* Deeplink

* Remove EventEmitter from CreateChannelView

* Android search

* Android notifications

* OAuth

* Fix search props

* Lint and tests fixed

* Fix android build

* Improvements on iPhone X* usage

* Fix detox

* Fix android build

* Room.f added to RoomView.shouldComponentUpdate

* Animations on RoomsListView and RoomView

* Fix topbar buttons on Android
2018-10-23 18:39:48 -03:00
Diego Mello 81c53acd60
Update dependencies (#431)
* Update dependencies

* Lint and test

* Added react-native fork

* rn 57

* Lint and tests updated

* Update xcode on circleci

* Use legacy build system

* Update tests
2018-09-25 16:28:42 -03:00
Diego Mello 5752b865b0
Several fixes for 1.2.1 (#448)
* Fix user.roles

* Better onLongPress handle on messages

* Indicator position

* Fix role undefined in system messages

* Add baseUrl in case of file attachments

* Join room fixed

* RoomView params

* Broadcast fixes

* Add server layout changes

* Use native images

* Subscribe to not joined channels

* Fix alerts without i18n

* Tests updated
2018-09-19 11:18:32 -03:00
Diego Mello 2e245e4d7c Image upload improvements (#368)
<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
- [x] Crop image
- [x] Type image description (like web)
- [x] Show upload progress
- [x] "Try again" in case of error
- [x] Cancel upload while in progress
- [x] [Android] Zoom on photos

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
![image](https://user-images.githubusercontent.com/804994/42526934-a12da304-844d-11e8-8668-f3d69369726a.png)
![image](https://user-images.githubusercontent.com/804994/42527829-297945fe-8450-11e8-9f0e-9e668dd33043.png)
2018-07-17 16:10:27 -03:00
Diego Mello 224c421b69 Switch push notification lib (#346)
<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
Closes #342 

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
2018-07-10 10:40:32 -03:00
Diego Mello 466a57e6b1 I18n (#312) 2018-06-01 14:38:13 -03:00
Diego Mello 33baf35de6 Better image cache component (#292)
* react-native-img-cache removed

* Improve list render

* Support <http://link/Text> inside markdown
2018-05-07 17:41:36 -03:00
Diego Mello 17ecd5c9af Crashlytics (#258)
* Fabric iOS

* Fabric configured on iOS and Android

* login tracked

* more logs

* fix reaction
2018-04-03 13:24:58 -03:00
Karan Bedi e5a0707759 [WIP] Audio message functionality (#247)
* [NEW] Add module react-native-audio

* [WIP] Audio message basic UI

* [NEW] Record audio message
2018-03-07 00:17:20 +00:00
Diego Mello ed5a1386e0 Improvements on emoji picker / message box (#227)
* Emoji keyboard

* Keyboard emoji working

* animation and flatlist

* fix

* Unread separator animation

* easeInEaseOut animation
2018-02-08 12:08:50 -02:00
Saket Kumar 885acf9575 Adds support for Toast message (#188) 2018-01-15 18:43:52 -02:00
Diego Mello 11d9a66752 Splash screen (#153)
* Splash working
2017-12-20 18:12:49 -02:00
Diego Mello 277adfbb75 Attachment types (#118)
* Separate attachment types

* Audio attachment file

* tmp react-native-video-controls

* video working

* - Video modal removed

* Supported video types check

* Audio component

* Audio animation

* Use a standard ESLint file name

* Reusable markdown stateless component

* react-native-sound removed

* react-native-sound removed from xcode

* Url working

* Update build.gradle

* Other attachments

* Fields
2017-12-02 11:19:58 -02:00
Guilherme Gazzo e09ca3d6a7
Push notification on android (#84) 2017-11-18 18:17:24 -02:00
gilmarsquinelato d55db0fca5 [NEW] Changed navigation library to react-navigation. (#41)
* Changed navigation library to react-navigation.
Refactoring on sagas to remove navigation navigation flow do it in views.
Added new modal library.
Renamed view files to the same name of their classes.
Added support to redux-devtools using the chrome extension through Remote devtools menu.
Some components was refactored to reduce complexity and more legibility.

* Remove react-native-navigation from Android

* Adding servers to drawer menu, allowing server switch.

* Sidebar component

* opss :x fix add server

* opss :x fix add server

* Fixed add server navigation issues, fixed empty and slow Rooms List and Chat Messages

* Disable cleanup everytime

* some fixes

* some fixes

*  fix?

* .

* Fixed logo not displaying when app is loading or signing to server

* Fixed logo in loading and login

* Update LoginView.js

* Update PublicRoutes.js
2017-09-21 14:08:00 -03:00
Rodrigo Nascimento 2626e4a7bb Change the navigator by a better one 2017-08-12 17:52:55 -03:00
Rodrigo Nascimento 3c2fd626af Add basic image upload 2017-08-10 17:09:54 -03:00
Guilherme Gazzo 2870fd9110
fix icons 2017-08-10 14:43:31 -03:00
Guilherme Gazzo 8213fec76a Auto stash before merge of "master" and "origin/master" 2017-08-10 13:25:50 -03:00
Rodrigo Nascimento d5fa6cb2ea Add cache for avatars 2017-08-09 16:02:09 -03:00
Rodrigo Nascimento f836982b09 Sending messages :) 2017-08-06 21:34:35 -03:00
Rodrigo Nascimento 19c8b87775 Initial commit 2017-08-03 15:23:43 -03:00