Alex Belch created CB-9502:
------------------------------
Summary: Amazon Fireos - InAppBrowser plugin fails to compile
Key: CB-9502
URL: https://issues.apache.org/jira/browse/CB-9502
Project: Apache Cordova
Issue Type: Bug
Components: Amazon FireOS
Affects Versions: 3.5.0
Environment: Unix Mac
cordova-plugin-inappbrowser 1.0.1 "InAppBrowser"
cordova version 5.2.0
Reporter: Alex Belch
Assignee: Archana Naik
Fix For: Master
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]