1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-11-04 23:33:11 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

support to Expo (#486)

* support to Expo

* update

* update

* update

---------

Co-authored-by: Steven <steven@Stevens-MacBook-Pro.local>
This commit is contained in:
波仔糕
2025-04-09 10:48:46 +08:00
committed by GitHub
parent 1767fe37fa
commit 0e077b1de0
15 changed files with 7714 additions and 14 deletions

View File

@@ -0,0 +1,13 @@
package cn.reactnative.modules.update;
import androidx.annotation.Nullable;
public interface ReactNativeHostHandler {
@Nullable
String getJSBundleFile(boolean useDeveloperSupport);
@Nullable
String getBundleAssetName(boolean useDeveloperSupport);
void onWillCreateReactInstance(boolean useDeveloperSupport);
}

View File

@@ -7,14 +7,11 @@ import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Environment;
import android.util.Log;
import com.facebook.react.ReactInstanceManager;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.io.File;
public class UpdateContext {