Skip to content

Commit

Permalink
fix: react-native-blob-util not working
Browse files Browse the repository at this point in the history
  • Loading branch information
meypod committed Sep 28, 2022
1 parent df4cbb7 commit 5c68bfa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import android.app.Application;
import android.content.Context;
import com.ReactNativeBlobUtil.ReactNativeBlobUtilPackage;

import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactInstanceManager;
Expand All @@ -13,6 +13,7 @@
import com.github.meypod.al_azan.modules.NotificationWidgetModulePackage;
import com.github.meypod.al_azan.modules.RestartModulePackage;
import com.github.meypod.al_azan.modules.ScreenWidgetModulePackage;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

Expand All @@ -32,7 +33,6 @@ protected List<ReactPackage> getPackages() {
// packages.add(new MyReactNativePackage());
packages.add(new RestartModulePackage());
packages.add(new MediaPlayerModulePackage());
packages.add(new ReactNativeBlobUtilPackage());
packages.add(new NotificationWidgetModulePackage());
packages.add(new ScreenWidgetModulePackage());
return packages;
Expand Down
3 changes: 0 additions & 3 deletions android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,5 @@ if (settings.hasProperty("newArchEnabled") && settings.newArchEnabled == "true")
project(":ReactAndroid:hermes-engine").projectDir = file('../node_modules/react-native/ReactAndroid/hermes-engine')
}

include ':react-native-blob-util'
project(':react-native-blob-util').projectDir = file('../node_modules/react-native-blob-util/android')

include(":notifee_core")
project(":notifee_core").projectDir = file('../node_modules/@notifee/core/android')
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"react-native": "0.69.6",
"react-native-alarm-module": "^3.0.0",
"react-native-app-intro-slider": "^4.0.4",
"react-native-blob-util": "^0.15.0",
"react-native-blob-util": "^0.16.2",
"react-native-codegen": "^0.69.1",
"react-native-document-picker": "^8.1.1",
"react-native-fs": "^2.20.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9363,10 +9363,10 @@ react-native-app-intro-slider@^4.0.4:
resolved "https://registry.yarnpkg.com/react-native-app-intro-slider/-/react-native-app-intro-slider-4.0.4.tgz#fa5cda7057db62c448ac975ffd2ba0cff94cc8d8"
integrity sha512-Zkjaol6X3BbZkHUpVDj2LjdidpS6rCgKi0fx80xgGKa0pHxBRd4swWTv2bHnnvu5k1/HXwYk0mY2TbK+2jHl5w==

react-native-blob-util@^0.15.0:
version "0.15.0"
resolved "https://registry.yarnpkg.com/react-native-blob-util/-/react-native-blob-util-0.15.0.tgz#b75755e0169d7e3aed865a835c38fe584d2aa56a"
integrity sha512-hXUoh1eHe25sREQkblpXGQKe1rr8uE1QgEVQIBeF4MbCfscPOCB6YYlsQ9PvJp0dXHCE/H1g//WvkM7wQukJeQ==
react-native-blob-util@^0.16.2:
version "0.16.2"
resolved "https://registry.yarnpkg.com/react-native-blob-util/-/react-native-blob-util-0.16.2.tgz#d7ad25675b33908884a95159280abd11ca2b109f"
integrity sha512-eC7lps4dyTICYVLqn86PDlo/2OdQw7rcOD2ViD69BAfdWgcEqslci8IjbUCvbSZM+cRbMskuRuLSfcoNi+ILqQ==
dependencies:
base-64 "0.1.0"
glob "^7.1.6"
Expand Down

0 comments on commit 5c68bfa

Please sign in to comment.