mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 13:23:12 +08:00 
			
		
		
		
	support package without bundle.
This commit is contained in:
		| @@ -151,7 +151,12 @@ class DownloadTask extends AsyncTask<DownloadTaskParams, Void, Void> { | ||||
|     } | ||||
|  | ||||
|     private byte[] readOriginBundle()  throws IOException { | ||||
|         InputStream in = context.getAssets().open("index.android.bundle"); | ||||
|         InputStream in; | ||||
|         try { | ||||
|             in = context.getAssets().open("index.android.bundle"); | ||||
|         } catch (Exception e) { | ||||
|             return new byte[0]; | ||||
|         } | ||||
|         int count; | ||||
|  | ||||
|         ByteArrayOutputStream fout = new ByteArrayOutputStream(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 tdzl2003
					tdzl2003