diff --git a/README.MD b/README.MD index 8e6ae10..8f15e50 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 +## 0.0.9 +- Fix missing import + ## 0.0.8 - Add onActivityResult callback diff --git a/package.json b/package.json index 3630b1b..1f8e4ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-android-fragmentactivity", - "version": "0.0.8", + "version": "0.0.9", "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 067e1a7..26fdff5 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,5 +1,5 @@ - + 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. diff --git a/src/android/MainActivity.java b/src/android/MainActivity.java index 2e66315..bed386d 100644 --- a/src/android/MainActivity.java +++ b/src/android/MainActivity.java @@ -22,8 +22,7 @@ Licensed to the Apache Software Foundation (ASF) under one /** extends CordovaActivity */ import android.app.FragmentTransaction; -import android.graphics.Color; -import android.os.Build; +import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentActivity;