* remove deviceToken from constructor
* remove old patch to verify if is running on shareExtension
* add share extension verification
* Remove imports from `/notifications/` just to test the share extension
* Revert "Remove imports from `/notifications/` just to test the share extension"
This reverts commit b3492abad413a5a8a6cf3cd027e33044c437c627.
* changes from constructor to a plain function
* update pods
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* reinstall react native and pods
* anotation of the react native package to the branch fix-ios-connections
* fix makes the correct point to the address of the lib
* add: @react-native-clipboard/clipboard
* create jest.setup.js file and centralizes all mocks on these folder for jest
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
* chore: updating mmkv library
* feat: updating android ejson to use the getSecureKey new version
* feat: updating IOS files to use the getSecureKey new version
* feat: changing all mmkv methods to use sync calls
* feat: changing mmkv methods from Screen lock
* feat: changing all mmkv methods from login, ssl certificate and change/add server
* feat: changing all mmkv methods from login, ssl certificate and change/add server
* feat: changing all mmkv methods from logout
* feat: changing all mmkv methods from e2e
* fix: small fix at encryption and server drop down
* feat: changing all mmkv methods from set theme
* feat: changing all mmkv methods from openLink
* fix: setting up mmkv to works property on Android
* fix: fix an error to set the theme when open the app
* refactor: change the react-native branch (temporary)
* refactor: removing all `Async` from mmkv functions name
* refactor: removing await from unnecessary functions, removing console.log and update cocoapods
* refactor: removing unnecessary undefined from methods
* feat: creating a custom hook for mmkv
* refactor: changing the fetchPasscode to use the useUserPreferences hook
* refactor: changing setTheme from app/index
* refactor: small fix on setTheme
* chore: update mmkv to 0.6.11
* chore: update mmkv to 0.6.11
* chore: minor tweak
* chore: update mmkv to 0.6.12
* chore: mock NativeModules
* chore: fix test mmkv
* chore: removing custom MMKV JSI module, since is no more necessary after 0.6.11 version
* feat: removing some async calls from mmkv after update from develop
* feat: creating a function to get the initialTheme
* feat: removing unnecessary try/catch
* fix: fixing the blink white when open the app
* feat: changing useMMKVStorage to create from mmkv lib
* test: creating a mock for mmkv create function
* chore: fix errors on tablet
* minor tweak
* Remove bugsnag-react-native
* Really remove bugsnag from android
* Install @bugsnag/react-native
* Logging error on Android correctly
* Cleanup
* Fix bugsnag mock
* iOS builds
* Fix CI mistake
* Upload dSYMs to Bugsnag
* Upload source maps automatically on iOS
* Cleanup
* Enable Bugsnag on share extension
* Add test error
* Use large macos
* Bump to 4.19.0 temporarily to test on TestFlight official
* Use temp keys
* Fix upload source maps for Official iOS build
* Remove tests
* Set version back to 4.18.0
* Update non-dev patches
* Update dev patches
* Update minors
* Update dev minors
* Update few non semver
* Cookies
* datepicker, netinfo, base64 and bootsplash
* Patch cookies
* Update navigation
* Device info
* mocha
* localize
* react-native-picker-select
* vector icons, xregexp, popover
* try save husky
* document picker
* Remove emotion dev
* Downgrade some libs and make sure jest is passing
* Update storybook to stable
* mocha, axios, bootsplash
* Update lint job to node 15
* Update android image to api 29 and xcode to 12.4
* building
* Fix lint
* Get rid of Storybooks errors
* Patch react-native-simple-crypto
* Remove pods from git
* Stash simple crypto
* Stash Flipper
* Remove single crypto patch
* Add manage-pods command
* Update Xcode to 12.5.0
* Fix E2E tests
* Cleanup podfile
* Fix Storybook
* Remove RN patch
* Fix iOS build release
* Fix cocoapods cache on CI
* Try to fix pods using bundle
* Update gems
* Add app_store_connect_api_key env to CI
* APP_STORE_CONNECT_API_KEY -> APP_STORE_CONNECT_API_BASE64
* Rollback to older usage of app_store_connect_api_key
* tmp
* Run manage-pods on TestFlight
* Use Podfile instead of Podfile.lock for cache
* Increase no_output_timeout from 20 minutes to 40
* Restore node modules on upload-to-testflight
* Add pod install to docs
* Update non-dev patches
* Update dev patches
* Update minors
* Update dev minors
* Update few non semver
* Cookies
* datepicker, netinfo, base64 and bootsplash
* Patch cookies
* Update navigation
* Device info
* mocha
* localize
* react-native-picker-select
* vector icons, xregexp, popover
* try save husky
* document picker
* Remove emotion dev
* Downgrade some libs and make sure jest is passing
* Update storybook to stable
* mocha, axios, bootsplash
* Update lint job to node 15
* Remove unnecessary class prop
* Stop rendering servers when there's only one
* Map and alloc only necessary columns from query
* Fetch servers count instead of all servers records
* Fetch only needed servers
* Separators
* Remove renderContent
* Minor fix
* Refactor query
* Smaller avatars in memory
* Fix getItemLayout
* Add topic
* Load less pods
* tests
* Import only used functions from lodash
* Fix pods
* Import only used functions from semver
* Fix media sharing
* Update pods
* Disables preview and thumb on iOS
* Update expo-video-thumbnail
* Unnecessary change
* [FIX] Disallow swipe to dismiss on share extension
* Limit query to 20 and clean up props
* Remove rn-extension-share branch pointer
* Test new branch
* Remove branch
* New field in table of users
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Saving when the user logged in with email and password
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Saving login method info
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Ask for the user to clear cookies
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Fix lint
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Removing loginMethod from redux and add I18n
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Using async/await instead of then/catch
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Fix lint
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Pods
* Added dismissText on showConfirmationAlert
* Fix iOS
* Rename function
* I18n tweaks
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* 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>
* Add expo-apple-authentication
* Button
* Create new provisioning profiles
* Login with Apple
* Change provisioning profile
* Button color based on theme
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>