Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9502

Amazon Fireos - InAppBrowser plugin fails to compile

    XMLWordPrintableJSON

Details

    • 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

          Activity

            People

              naika Archana Naik
              alexB71 Alex Belch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3h
                  3h
                  Remaining:
                  Remaining Estimate - 3h
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified