mirror of
https://github.com/tooot-app/app
synced 2025-02-23 15:17:38 +01:00
Fixes
This commit is contained in:
parent
58a4b9953f
commit
3e52f175b7
@ -21,10 +21,11 @@
|
|||||||
|
|
||||||
## OTA release channels
|
## OTA release channels
|
||||||
|
|
||||||
* `MAJOR-environment`. Environments include `production`, `staging` and `development`.
|
* `MAJOR-environment`. Environments include `release`, `candidate` and `development`.
|
||||||
|
|
||||||
## Major versions mapping to native module versions
|
## Major versions mapping to native module versions
|
||||||
|
|
||||||
| Major version | Native module version |
|
| Major version | Native module version | Expo version |
|
||||||
| :-----------: | :-------------------: |
|
| :-----------: | :-------------------: | :----------: |
|
||||||
| `0` | `210201` |
|
| `0` | `210201` | `40.0.0` |
|
||||||
|
| `1` | `210317` | `40.0.0` |
|
@ -106,7 +106,7 @@ private_lane :build_ios do
|
|||||||
output_directory: BUILD_DIRECTORY,
|
output_directory: BUILD_DIRECTORY,
|
||||||
silent: true
|
silent: true
|
||||||
)
|
)
|
||||||
upload_to_app_store( ipa: IPA_FILE )
|
upload_to_app_store( ipa: IPA_FILE, app_version: VERSION )
|
||||||
else
|
else
|
||||||
if !is_ci
|
if !is_ci
|
||||||
match( type: "development", readonly: true )
|
match( type: "development", readonly: true )
|
||||||
|
@ -43,7 +43,7 @@ const SettingsTooot: React.FC = () => {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
{__DEV__ ||
|
{__DEV__ ||
|
||||||
['production', 'development'].some(channel =>
|
['release', 'development'].some(channel =>
|
||||||
Updates.releaseChannel?.includes(channel)
|
Updates.releaseChannel?.includes(channel)
|
||||||
) ? (
|
) ? (
|
||||||
<MenuRow
|
<MenuRow
|
||||||
|
@ -40,7 +40,7 @@ const contextsSlice = createSlice({
|
|||||||
initialState: contextsInitialState as ContextsState,
|
initialState: contextsInitialState as ContextsState,
|
||||||
reducers: {
|
reducers: {
|
||||||
updateStoreReview: (state, action: PayloadAction<1>) => {
|
updateStoreReview: (state, action: PayloadAction<1>) => {
|
||||||
if (Updates.releaseChannel.includes('production')) {
|
if (Updates.releaseChannel.includes('release')) {
|
||||||
state.storeReview.current = state.storeReview.current + action.payload
|
state.storeReview.current = state.storeReview.current + action.payload
|
||||||
if (state.storeReview.current === state.storeReview.context) {
|
if (state.storeReview.current === state.storeReview.context) {
|
||||||
StoreReview.isAvailableAsync().then(() => StoreReview.requestReview())
|
StoreReview.isAvailableAsync().then(() => StoreReview.requestReview())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user