diff --git a/README.MD b/README.MD index 8f15e50..ffd92c3 100644 --- a/README.MD +++ b/README.MD @@ -21,6 +21,9 @@ AndroidManifest.xml is automatically updated to use the new MainActivity. Based on cordova-android-fragments (https://github.com/rajivnarayana/CordovaFragments) # History +## 1.0.0 +- Migrate to androidx + ## 0.0.9 - Fix missing import diff --git a/package.json b/package.json index 1f8e4ee..091ea23 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-android-fragmentactivity", - "version": "0.0.9", + "version": "1.0.0", "description": "An android plugin that provides a replacement activity to the default activity to start a cordova application with MainActivity as a Fragment Activity. Useful when you want to add native views on top of cordova webview.", "cordova": { "id": "cordova-plugin-android-fragmentactivity", diff --git a/plugin.xml b/plugin.xml index 26fdff5..cac7d31 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,12 +1,12 @@ - + Cordova Android FragmentActivity Plugin An android plugin that provides a replacement activity to the default activity to start a cordova application with MainActivity as a Fragment Activity. Useful when you want to add native views on top of cordova webview. cordova, fragment, fragments - + diff --git a/src/android/MainActivity.java b/src/android/MainActivity.java index bed386d..55c5662 100644 --- a/src/android/MainActivity.java +++ b/src/android/MainActivity.java @@ -24,7 +24,8 @@ Licensed to the Apache Software Foundation (ASF) under one import android.app.FragmentTransaction; import android.content.Intent; import android.os.Bundle; -import android.support.v4.app.FragmentActivity; +import androidx.fragment.app.FragmentActivity; +// import android.support.v4.app.FragmentActivity; public class MainActivity extends FragmentActivity {