Merge branch 'develop' into fix.jump-from-thread-to-same-room
This commit is contained in:
commit
56859d0de1
|
@ -290,6 +290,23 @@ commands:
|
||||||
command: bundle exec fastlane android beta official:<< parameters.official >>
|
command: bundle exec fastlane android beta official:<< parameters.official >>
|
||||||
working_directory: android
|
working_directory: android
|
||||||
|
|
||||||
|
# EXPERIMENTAL ONLY
|
||||||
|
upload-to-internal-app-sharing:
|
||||||
|
description: "Upload to Internal App Sharing"
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- attach_workspace:
|
||||||
|
at: android
|
||||||
|
- run:
|
||||||
|
name: Store the google service account key
|
||||||
|
command: echo "$FASTLANE_GOOGLE_SERVICE_ACCOUNT" | base64 --decode > service_account.json
|
||||||
|
working_directory: android
|
||||||
|
- run: *update-fastlane-android
|
||||||
|
- run:
|
||||||
|
name: Fastlane Play Store Upload
|
||||||
|
command: bundle exec fastlane android internal_app_sharing
|
||||||
|
working_directory: android
|
||||||
|
|
||||||
# EXPERIMENTAL ONLY
|
# EXPERIMENTAL ONLY
|
||||||
# No plans to do it for Official
|
# No plans to do it for Official
|
||||||
upload-to-google-play-production:
|
upload-to-google-play-production:
|
||||||
|
@ -391,6 +408,14 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- android-build
|
- android-build
|
||||||
|
|
||||||
|
android-internal-app-sharing-experimental:
|
||||||
|
<<: *defaults
|
||||||
|
docker:
|
||||||
|
- image: circleci/android:api-28-node
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- upload-to-internal-app-sharing
|
||||||
|
|
||||||
android-google-play-beta-experimental:
|
android-google-play-beta-experimental:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
docker:
|
docker:
|
||||||
|
@ -452,13 +477,9 @@ workflows:
|
||||||
- ios-build-experimental:
|
- ios-build-experimental:
|
||||||
requires:
|
requires:
|
||||||
- ios-hold-build-experimental
|
- ios-hold-build-experimental
|
||||||
- ios-hold-testflight-experimental:
|
|
||||||
type: approval
|
|
||||||
requires:
|
|
||||||
- ios-build-experimental
|
|
||||||
- ios-testflight-experimental:
|
- ios-testflight-experimental:
|
||||||
requires:
|
requires:
|
||||||
- ios-hold-testflight-experimental
|
- ios-build-experimental
|
||||||
|
|
||||||
# iOS Official
|
# iOS Official
|
||||||
- ios-hold-build-official:
|
- ios-hold-build-official:
|
||||||
|
@ -484,6 +505,9 @@ workflows:
|
||||||
- android-build-experimental:
|
- android-build-experimental:
|
||||||
requires:
|
requires:
|
||||||
- android-hold-build-experimental
|
- android-hold-build-experimental
|
||||||
|
- android-internal-app-sharing-experimental:
|
||||||
|
requires:
|
||||||
|
- android-build-experimental
|
||||||
- android-hold-google-play-beta-experimental:
|
- android-hold-google-play-beta-experimental:
|
||||||
type: approval
|
type: approval
|
||||||
requires:
|
requires:
|
||||||
|
|
|
@ -33,6 +33,14 @@ platform :android do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
desc "Upload App to Internal App Sharing"
|
||||||
|
lane :internal_app_sharing do
|
||||||
|
upload_to_play_store_internal_app_sharing(
|
||||||
|
package_name: 'chat.rocket.reactnative',
|
||||||
|
aab: 'android/app/build/outputs/bundle/experimentalPlayRelease/app-experimental-play-release.aab'
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
desc "Upload App to Play Store Production"
|
desc "Upload App to Play Store Production"
|
||||||
lane :production do |options|
|
lane :production do |options|
|
||||||
upload_to_play_store(
|
upload_to_play_store(
|
||||||
|
|
|
@ -12,33 +12,28 @@ Install _fastlane_ using
|
||||||
```
|
```
|
||||||
[sudo] gem install fastlane -NV
|
[sudo] gem install fastlane -NV
|
||||||
```
|
```
|
||||||
or alternatively using `brew cask install fastlane`
|
or alternatively using `brew install fastlane`
|
||||||
|
|
||||||
# Available Actions
|
# Available Actions
|
||||||
## Android
|
## Android
|
||||||
### android playBuild
|
### android beta
|
||||||
```
|
```
|
||||||
fastlane android playBuild
|
fastlane android beta
|
||||||
```
|
```
|
||||||
Play build for development
|
Upload App to Play Store Internal
|
||||||
### android fossRelease
|
### android internal_app_sharing
|
||||||
```
|
```
|
||||||
fastlane android fossRelease
|
fastlane android internal_app_sharing
|
||||||
```
|
```
|
||||||
Foss build for release
|
Upload App to Internal App Sharing
|
||||||
### android playRelease
|
### android production
|
||||||
```
|
```
|
||||||
fastlane android playRelease
|
fastlane android production
|
||||||
```
|
```
|
||||||
Play build for release
|
Upload App to Play Store Production
|
||||||
### android playAlpha
|
|
||||||
```
|
|
||||||
fastlane android playAlpha
|
|
||||||
```
|
|
||||||
Upload App to Play store
|
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run.
|
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
|
||||||
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools).
|
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools).
|
||||||
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).
|
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).
|
||||||
|
|
|
@ -7,15 +7,19 @@ import { themes } from '../../constants/colors';
|
||||||
import { LISTENER } from '../Toast';
|
import { LISTENER } from '../Toast';
|
||||||
import EventEmitter from '../../utils/events';
|
import EventEmitter from '../../utils/events';
|
||||||
import I18n from '../../i18n';
|
import I18n from '../../i18n';
|
||||||
|
import openLink from '../../utils/openLink';
|
||||||
|
|
||||||
const Link = React.memo(({
|
const Link = React.memo(({
|
||||||
children, link, theme, onLinkPress
|
children, link, theme, onLinkPress
|
||||||
}) => {
|
}) => {
|
||||||
const handlePress = () => {
|
const handlePress = () => {
|
||||||
if (!link || !onLinkPress) {
|
if (!link) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
onLinkPress(link);
|
if (onLinkPress) {
|
||||||
|
return onLinkPress(link);
|
||||||
|
}
|
||||||
|
openLink(link, theme);
|
||||||
};
|
};
|
||||||
|
|
||||||
const childLength = React.Children.toArray(children).filter(o => o).length;
|
const childLength = React.Children.toArray(children).filter(o => o).length;
|
||||||
|
|
|
@ -138,9 +138,10 @@ export function subscribeSettings() {
|
||||||
export default async function() {
|
export default async function() {
|
||||||
try {
|
try {
|
||||||
const db = database.active;
|
const db = database.active;
|
||||||
const settingsParams = JSON.stringify(Object.keys(settings).filter(key => !loginSettings.includes(key)));
|
const settingsParams = Object.keys(settings).filter(key => !loginSettings.includes(key));
|
||||||
// RC 0.60.0
|
// RC 0.60.0
|
||||||
const result = await fetch(`${ this.sdk.client.host }/api/v1/settings.public?query={"_id":{"$in":${ settingsParams }}}`).then(response => response.json());
|
const result = await fetch(`${ this.sdk.client.host }/api/v1/settings.public?query={"_id":{"$in":${ JSON.stringify(settingsParams) }}}&count=${ settingsParams.length }`)
|
||||||
|
.then(response => response.json());
|
||||||
|
|
||||||
if (!result.success) {
|
if (!result.success) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue