mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 15:49:36 +08:00
Adding comment about activity import
This commit is contained in:
@@ -139,6 +139,7 @@ After installing the plugin and syncing your Android Studio project with Gradle,
|
||||
import com.microsoft.codepush.react.CodePush;
|
||||
|
||||
// 2. Optional: extend FragmentActivity if you intend to show a dialog prompting users about updates.
|
||||
// If you do this, make sure to also add `import android.support.v4.app.FragmentActivity` to the file.
|
||||
public class MainActivity extends FragmentActivity implements DefaultHardwareBackBtnHandler {
|
||||
...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user