Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/common/src/store/upload/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ const trackProgressSummary = (
trackProgress: ProgressState,
key: 'image' | 'audio'
) => {
let loaded =
const loaded =
trackProgress[key].status === ProgressStatus.ERROR
? (trackProgress[key].total ?? 0)
: (trackProgress[key].loaded ?? 0)
let total = trackProgress[key].total ?? 0
let transcode =
const total = trackProgress[key].total ?? 0
const transcode =
trackProgress[key].status === ProgressStatus.ERROR
? 1
: (trackProgress[key].transcode ?? 0)
Expand Down
25 changes: 0 additions & 25 deletions packages/mobile/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,6 @@ PODS:
- hermes-engine (0.78.3):
- hermes-engine/Pre-built (= 0.78.3)
- hermes-engine/Pre-built (0.78.3)
- KeepAwake (0.2.0):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2024.11.18.00)
- RCTRequired
- RCTTypeSafety
- React-Core
- React-debug
- React-Fabric
- React-featureflags
- React-graphics
- React-ImageManager
- React-NativeModulesApple
- React-RCTFabric
- React-rendererdebug
- React-utils
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- lottie-ios (4.5.0)
- lottie-react-native (7.3.4):
- DoubleConversion
Expand Down Expand Up @@ -2149,7 +2128,6 @@ DEPENDENCIES:
- fmt (from `../node_modules/react-native/third-party-podspecs/fmt.podspec`)
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
- hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`)
- "KeepAwake (from `../../../node_modules/@thehale/react-native-keep-awake`)"
- lottie-react-native (from `../node_modules/lottie-react-native`)
- nSure
- RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
Expand Down Expand Up @@ -2295,8 +2273,6 @@ EXTERNAL SOURCES:
hermes-engine:
:podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec"
:tag: hermes-2025-01-13-RNv0.78.0-a942ef374897d85da38e9c8904574f8376555388
KeepAwake:
:path: "../../../node_modules/@thehale/react-native-keep-awake"
lottie-react-native:
:path: "../node_modules/lottie-react-native"
RCT-Folly:
Expand Down Expand Up @@ -2516,7 +2492,6 @@ SPEC CHECKSUMS:
glog: eb93e2f488219332457c3c4eafd2738ddc7e80b8
google-cast-sdk-dynamic-xcframework-no-bluetooth: 1fa9e267df3fd6f8a1c6e3345142ca5286297968
hermes-engine: b5c9cfbe6415f1b0b24759f2942c8f33e9af6347
KeepAwake: 4b57e7d7fc80134ff4faa0a05f165699812ef473
lottie-ios: a881093fab623c467d3bce374367755c272bdd59
lottie-react-native: 04061d06c966a4179c9c1352aac63b699642c77e
nSure: 2fc3fc973c44aa0be9a3446f84cb514adc475205
Expand Down
1 change: 0 additions & 1 deletion packages/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"@stripe/crypto": "0.0.4",
"@stripe/stripe-js": "1.54.1",
"@tanstack/react-query": "5.62.7",
"@thehale/react-native-keep-awake": "0.2.0",
"array.prototype.flat": "1.2.5",
"big-integer": "1.6.51",
"bs58": "5.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { uuid } from '@audius/common/utils'
import type { Nullable } from '@audius/common/utils'
import { Id, OptionalId } from '@audius/sdk'
import { CreativeKit } from '@snapchat/snap-kit-react-native'
import { useKeepAwake } from '@thehale/react-native-keep-awake'
import type { FFmpegSession } from 'ffmpeg-kit-react-native'
import { FFmpegKit, FFmpegKitConfig, ReturnCode } from 'ffmpeg-kit-react-native'
import { Platform, View } from 'react-native'
Expand Down Expand Up @@ -128,8 +127,6 @@ export const useShareToStory = ({
const [selectedPlatform, setSelectedPlatform] =
useState<ShareToStoryPlatform | null>(null)

// Keep screen awake when sharing to story
useKeepAwake()
const trackTitle =
content?.type === 'track' ? content?.track.title : undefined
const artistHandle =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { useEffect, useState } from 'react'
import type { TrackForUpload } from '@audius/common/store'
import { uploadActions, uploadSelectors } from '@audius/common/store'
import { useRoute } from '@react-navigation/native'
import { useKeepAwake } from '@thehale/react-native-keep-awake'
import { View } from 'react-native'
import { useDispatch, useSelector } from 'react-redux'

Expand Down Expand Up @@ -61,7 +60,6 @@ export type UploadingTracksParams = {
}

export const UploadingTracksScreen = () => {
useKeepAwake()
const { params } = useRoute<UploadRouteProp<'UploadingTracks'>>()
const { tracks } = params
const styles = useStyles()
Expand Down