You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2016/03/16 20:51:33 UTC

[jira] [Closed] (CB-9502) Amazon Fireos - InAppBrowser plugin fails to compile

     [ https://issues.apache.org/jira/browse/CB-9502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-9502.
----------------------------
    Resolution: Duplicate

> 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 (deprecated)
>    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
>              Labels: build, easyfix, patch
>             Fix For: Master
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org