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