mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Release React Native for Android
This is an early release and there are several things that are known not to work if you're porting your iOS app to Android. See the Known Issues guide on the website. We will work with the community to reach platform parity with iOS.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package com.facebook.react;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.gradle.api.tasks.TaskAction;
|
||||
|
||||
/**
|
||||
* Gradle task that copies the prod bundle to the debug build's assets.
|
||||
*/
|
||||
public class PackageReleaseJsTask extends AbstractPackageJsTask {
|
||||
|
||||
public PackageReleaseJsTask() throws IOException {
|
||||
super(false);
|
||||
}
|
||||
|
||||
@TaskAction
|
||||
public void packageJS() throws Exception {
|
||||
copyBundle();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user