diff --git a/app.config.ts b/app.config.ts index 60997c9e..d7c2413b 100644 --- a/app.config.ts +++ b/app.config.ts @@ -10,7 +10,6 @@ export default (): ExpoConfig => ({ version, extra: { environment: process.env.ENVIRONMENT }, privacy: 'hidden', - assetBundlePatterns: ['assets/*'], hooks: { postPublish: [ { diff --git a/fastlane/Fastfile b/fastlane/Fastfile index cd5e7ec8..232384bd 100644 --- a/fastlane/Fastfile +++ b/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 diff --git a/metro.config.js b/metro.config.js index 22366d05..6b6f2944 100644 --- a/metro.config.js +++ b/metro.config.js @@ -1,6 +1,3 @@ module.exports = { - transformer: { - assetPlugins: ['expo-asset/tools/hashAssetFiles'], - inlineRequires: true - } + transformer: { inlineRequires: true } } diff --git a/src/App.tsx b/src/App.tsx index 6419e708..788008db 100644 --- a/src/App.tsx +++ b/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'