Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.5.0
-
Unix Mac
cordova-plugin-inappbrowser 1.0.1 "InAppBrowser"
cordova version 5.2.0
-
Patch, Important
Description
Issue for cordova-plugin-inappbrowser on the amazon-vireos platform,
plug in compilation fails due to missing methods in the Amazon
Type:
cordova plugin add cordova-plugin-inappbrowser
cordova build amazon-fireos
Output is:
[javac] Compiling 26 source files to /Users/alex/Scrumster/Projects/Scrum/platforms/amazon-fireos/ant-build/classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] /Users/alex/Scrumster/Projects/Scrum/platforms/amazon-fireos/src/org/apache/cordova/inappbrowser/InAppBrowserDialog.java:51: error: cannot find symbol
[javac] if (this.inAppBrowser.hardwareBack() && this.inAppBrowser.canGoBack()) {
[javac] ^
[javac] symbol: method hardwareBack()
[javac] location: variable inAppBrowser of type InAppBrowser
[javac] /Users/alex/Scrumster/Projects/Scrum/platforms/amazon-fireos/src/org/apache/cordova/inappbrowser/InAppBrowserDialog.java:51: error: cannot find symbol
[javac] if (this.inAppBrowser.hardwareBack() && this.inAppBrowser.canGoBack()) {
[javac] ^
[javac] symbol: method canGoBack()
[javac] location: variable inAppBrowser of type InAppBrowser
[javac] /Users/alex/Scrumster/Projects/Scrum/platforms/amazon-fireos/src/org/apache/cordova/inappbrowser/InAppBrowserDialog.java:52: error: goBack() has private access in InAppBrowser
[javac] this.inAppBrowser.goBack();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 errors
[javac] 3 warnings
The reason is that the InAppBrowser.java class is missing methods:
hardwareBack(), canGoBack() and goBack()
presumably these can be added as dummy methods or for goBack() method made public.
Attachments
Issue Links
- is a clone of
-
CB-9274 InAppBrowser compile error for Amazon FireOS
- Closed