Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.simplec.plugins.videosettings"
id="ionic-plugin-videosettings"
version="0.1.17">

<name>Android Media Gesture Setting</name>
Expand All @@ -20,12 +20,12 @@
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="AndroidMediaGestureSetting">
<param name="android-package" value="com.simplec.phonegap.plugins.videosettings.AndroidMediaGestureSetting" />
<param name="android-package" value="ionic.plugin.videosettings.AndroidMediaGestureSetting" />
<param name="onload" value="true" />
</feature>
</config-file>


<source-file src="src/android/com/simplec/phonegap/plugins/videosettings/AndroidMediaGestureSetting.java" target-dir="src/com/simplec/phonegap/plugins/videosettings"/>
<source-file src="src/android/ionic/plugins/videosettings/AndroidMediaGestureSetting.java" target-dir="src/ionic/plugins/videosettings"/>
</platform>
</plugin>
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public WebView getWebViewFromPlugin() throws NoSuchMethodException, IllegalAcces
thisView = ((WebView) webView);
} else {
Log.e(LOG_TAG, "using reflection to get method getView");
Method m = webView.getClass().getDeclaredMethod("getView", null);
Method m = webView.getClass().getDeclaredMethod("getView");

Log.e(LOG_TAG, "got method: "+m);
thisView = (WebView) m.invoke(webView);// webView.getView());
Expand Down