Browse Source

Try building again

pull/390/head
xmflsct 2 months ago
parent
commit
800ebe989d
  1. 1
      app.config.ts
  2. 22
      fastlane/Fastfile
  3. 5
      metro.config.js
  4. 1
      src/App.tsx

1
app.config.ts

@ -10,7 +10,6 @@ export default (): ExpoConfig => ({
version,
extra: { environment: process.env.ENVIRONMENT },
privacy: 'hidden',
assetBundlePatterns: ['assets/*'],
hooks: {
postPublish: [
{

22
fastlane/Fastfile

@ -144,15 +144,17 @@ lane :android do
end
lane :release do
build_android_apk
set_github_release(
repository_name: GITHUB_REPO,
name: GITHUB_RELEASE,
tag_name: GITHUB_RELEASE,
description: "No changelog provided",
commitish: git_branch,
is_prerelease: ENVIRONMENT == 'candidate',
upload_assets: ["#{File.expand_path('..', Dir.pwd)}/tooot-#{GITHUB_RELEASE}.apk"]
)
if ENVIRONMENT == 'release'
build_android_apk
set_github_release(
repository_name: GITHUB_REPO,
name: GITHUB_RELEASE,
tag_name: GITHUB_RELEASE,
description: "No changelog provided",
commitish: git_branch,
is_prerelease: false,
upload_assets: ["#{File.expand_path('..', Dir.pwd)}/tooot-#{GITHUB_RELEASE}.apk"]
)
end
rocket
end

5
metro.config.js

@ -1,6 +1,3 @@
module.exports = {
transformer: {
assetPlugins: ['expo-asset/tools/hashAssetFiles'],
inlineRequires: true
}
transformer: { inlineRequires: true }
}

1
src/App.tsx

@ -16,7 +16,6 @@ import {
getSettingsLanguage
} from '@utils/slices/settingsSlice'
import ThemeManager from '@utils/styles/ThemeManager'
import 'expo-asset'
import * as SplashScreen from 'expo-splash-screen'
import React, { useCallback, useEffect, useState } from 'react'
import { LogBox, Platform } from 'react-native'

Loading…
Cancel
Save