react-native-audio-api 0.6.3-rc.1 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,7 +12,6 @@ import androidx.media.app.NotificationCompat.MediaStyle
|
|
|
12
12
|
import com.facebook.react.bridge.ReactApplicationContext
|
|
13
13
|
import com.facebook.react.bridge.ReadableMap
|
|
14
14
|
import com.facebook.react.bridge.ReadableType
|
|
15
|
-
import com.facebook.react.views.imagehelper.ResourceDrawableIdHelper.Companion.instance
|
|
16
15
|
import com.swmansion.audioapi.R
|
|
17
16
|
import java.io.IOException
|
|
18
17
|
import java.lang.ref.WeakReference
|
|
@@ -250,7 +249,7 @@ class LockScreenManager(
|
|
|
250
249
|
// If we are running the app in debug mode, the "local" image will be served from htt://localhost:8080, so we need to check for this case and load those images from URL
|
|
251
250
|
if (local && !url.startsWith("http")) {
|
|
252
251
|
// Gets the drawable from the RN's helper for local resources
|
|
253
|
-
val helper = instance
|
|
252
|
+
val helper = com.facebook.react.views.imagehelper.ResourceDrawableIdHelper.instance
|
|
254
253
|
val image = helper.getResourceDrawable(reactContext.get()!!, url)
|
|
255
254
|
|
|
256
255
|
bitmap =
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-audio-api",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "react-native-audio-api provides system for controlling audio in React Native environment compatible with Web Audio API specification",
|
|
5
5
|
"bin": {
|
|
6
6
|
"setup-rn-audio-api-web": "./scripts/setup-rn-audio-api-web.js"
|
|
@@ -91,18 +91,18 @@
|
|
|
91
91
|
"@evilmartians/lefthook": "^1.5.0",
|
|
92
92
|
"@expo/config-plugins": "^9.0.0",
|
|
93
93
|
"@expo/config-types": "^53.0.4",
|
|
94
|
-
"@react-native/babel-preset": "0.
|
|
95
|
-
"@react-native/eslint-config": "
|
|
96
|
-
"@react-native/metro-config": "0.
|
|
97
|
-
"@react-native/typescript-config": "0.
|
|
94
|
+
"@react-native/babel-preset": "0.80.0",
|
|
95
|
+
"@react-native/eslint-config": "0.80.0",
|
|
96
|
+
"@react-native/metro-config": "0.80.0",
|
|
97
|
+
"@react-native/typescript-config": "0.80.0",
|
|
98
98
|
"@types/babel__core": "^7.20.0",
|
|
99
99
|
"@types/babel__generator": "^7.6.4",
|
|
100
100
|
"@types/babel__traverse": "^7.14.2",
|
|
101
101
|
"@types/convert-source-map": "^2.0.0",
|
|
102
102
|
"@types/jest": "^29.5.5",
|
|
103
103
|
"@types/node": "^18.0.0",
|
|
104
|
-
"@types/react": "^
|
|
105
|
-
"@types/react-test-renderer": "^
|
|
104
|
+
"@types/react": "^19.1.0",
|
|
105
|
+
"@types/react-test-renderer": "^19.1.0",
|
|
106
106
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
107
107
|
"commitlint": "^17.0.2",
|
|
108
108
|
"del-cli": "^5.1.0",
|
|
@@ -122,8 +122,8 @@
|
|
|
122
122
|
"eslint-plugin-tsdoc": "^0.2.17",
|
|
123
123
|
"jest": "^29.7.0",
|
|
124
124
|
"prettier": "^3.3.3",
|
|
125
|
-
"react": "
|
|
126
|
-
"react-native": "0.
|
|
125
|
+
"react": "19.1.0",
|
|
126
|
+
"react-native": "0.80.0",
|
|
127
127
|
"react-native-builder-bob": "0.33.1",
|
|
128
128
|
"turbo": "^1.10.7",
|
|
129
129
|
"typescript": "~5.3.0"
|