Software Archive
Read-only legacy content
17061 Discussions

Cordova too old

Stefan_V
Beginner
1,073 Views

Hello,

I made an HTML5 application with Intel XDK and I can't upload it on Google Play. They say that my application has security problems adn they didn't aprove the application. They say that I should have used Cordova 3.5.1 at least. But I use Intel XDK 2727 and I have there Cordova 5.1

I don't undersatnd what i'm doing wrong.

0 Kudos
8 Replies
Ad
New Contributor III
1,073 Views

Strange, yesterday I have just uploaded a new release of our App without any problems. Compile as Android build, CLI set to 5.1.1

0 Kudos
Stefan_V
Beginner
1,073 Views

I've built the original mobile application with Intel XDK 1650. And now it doesn't matter if I wrapp it again with the latest Intel XDK I receive this error.

0 Kudos
Ad
New Contributor III
1,073 Views

You can see in the build log the Cordova version.
In my case:

Build Log:
  • Building a Cordova 5.1.1 application.

I know that the project file format is different between XDk1650 and XDK2727, maybe the conversion was not 100%

In the files "intelxdk.config.android.xml" and "your_project.xdk" is the used Cordova version listed. You can check the Cordova version in those files, maybe that solves your problem...

0 Kudos
Stefan_V
Beginner
1,073 Views

It doesn't work.

If I try to see what Cordova I have with console.log(device.version) i receive 2.1.1

There is something wrong here.


I think I will uninstall Intel SDK and i'll install it again.

 

0 Kudos
Ad
New Contributor III
1,073 Views

Stefan V wrote:

If I try to see what Cordova I have with console.log(device.version) i receive 2.1.1

device.version = Operation System version e.g. 4.2.2, I don't know why you can get 2.1.1 or do you have a very very old Android device?

To get the cordova version, you can include the "intel.xdk.device" plugin .and use intel.xdk.device.phonegapversion

In the build settings, Cordova CLI is set to 5.1.1, so I was expecting 5.1.1, but I'm getting 4.1.0 !!!! Something is wrong, Intel help...

0 Kudos
Elroy_A_Intel
Employee
1,073 Views

4.1.0 represents the mobile platform specific version under Cordova version 5+. Apache Cordova has implemented mobile platform specific versioning starting with Apache Cordova CLI 5.

I also recommend using Cordova plugins instead of intel.xdk plugins. You should try cordova-plugin-device in regards to getting information regarding the version of Cordova that is running on device.

0 Kudos
Stefan_V
Beginner
1,073 Views

Sorry,

I've used console.log(device.cordova)

and the result is 2.1.1

 

0 Kudos
Ad
New Contributor III
1,073 Views
0 Kudos
Reply