mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-11-04 15:23:11 +08:00 
			
		
		
		
	support to Expo (#486)
* support to Expo * update * update * update --------- Co-authored-by: Steven <steven@Stevens-MacBook-Pro.local>
This commit is contained in:
		@@ -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);
 | 
			
		||||
} 
 | 
			
		||||
@@ -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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user