No there is no problem using the above pre-release packages. These releases solve the problem for the SSL issue and there is going to be another SDK release coming the following week as well.
Thanks
J
Jonathan Dart
said
about 7 years ago
The WikitudePlugin.js seems to be missing an essential bit to make it work:
Maybe it's a new cordova convention to omit it, but in my case I had to hack up that file.
L
Lidya Agustina
said
about 7 years ago
Hello,
Sorry im quite new in this...
Did i do something wrong or miss something?
1. I downloaded the latest one from the link provided below (PhoneGap).
2. I copied all the files to my project folder->plugins->com.wikitude.phonegap.WikitudePlugin
3. Then i rebuild everything from android studio and generate the signed APK to put in google play.
I submitted the APK but i still got the notification from google play:
Security alert
Your app is using a version of OpenSSL containing a security vulnerability. Please see this Google Help Centre article for details, including the deadline for fixing the vulnerability.
I then tried to run "unzip -p "android-release.apk" | strings | grep "OpenSSL" as instructed by google play page to check the version and it gave me (some of the message):
---
MD4 part of OpenSSL 1.0.1j 15 Oct 2014 MD5 part of OpenSSL 1.0.1j 15 Oct 2014 PEM part of OpenSSL 1.0.1j 15 Oct 2014 RC2 part of OpenSSL 1.0.1j 15 Oct 2014 RIPE-MD160 part of OpenSSL 1.0.1j 15 Oct 2014 RSA part of OpenSSL 1.0.1j 15 Oct 2014 SHA1 part of OpenSSL 1.0.1j 15 Oct 2014 SHA-256 part of OpenSSL 1.0.1j 15 Oct 2014 DlSHA-512 part of OpenSSL 1.0.1j 15 Oct 2014
---
Did i do it wrongly?
Thanks.
Lidya
T
Takamitsu Araki
said
about 7 years ago
hi Eva Trianafillopoulou
I posted build error logs about failure for cordova latest version above about 10 days ago.
Could you tell me your opinions if you know what is wrong.
Thank you.
D
Daniel Guttenberg
said
about 7 years ago
My apologies for the delayed reply. We've been hard at work to get the official release finished as soon as possible.
@Takamitsu Araki:
Your Android build errors are caused by using an android-cordova version pre 5.0.0. For now we require that you update to at least the 5.0.0 version. You can easily do this by running the following operations on the command line.
cordova platform remove android
cordova platform add android@5
The following issue tracked on github might provide some additional information:
The resulting apk should now contain OpenSSL version 1.0.1r.
I will provide additional information regarding the outstanding issues as soon as possible.
D
Daniel Guttenberg
said
about 7 years ago
The iOS related build issues should be fixed in the official release package which will be available today.
Please let us know if your issues are resolved or whether they persist after switching to the official release.
A
Andreas Schacherbauer
said
about 7 years ago
Here are the download links for our JS API SDK extensions:
PhoneGap (update 2016-07-11: links are not available anymore - pls use release 5.2.0) Titanium (update 2016-07-11: links are not available anymore - pls use release 5.2.0) Xamarin (update 2016-07-11: links are not available anymore - pls use release 5.2.0)
Our Unity Plugin will follow a little bit later because we decided to add some major improvements in how we interact with Unity GameObjects and the Camera in the next release and this still needs some more testing.
Best regards,
Andreas
A
Andreas Schacherbauer
said
about 7 years ago
Hi @all,
Android packages including OpenSSL version 1.01r for our JS API SDK can be found here. update 2016-07-11: links are not available anymore - pls use official release 5.2.0 Android packages including OpenSSL version 1.01r for our Native API SDK can be found here. update 2016-07-11: links are not available anymore - pls use official release 5.2.0
Please note that this are pre release packages. Besides the OpenSSL udpate they also contain the latest changes that are part of our upcoming minor update to the SDK. Public releases of both SDKs will be available very soon.
Best regards,
Andreas
P
Philipp Nagele
said
about 7 years ago
Hi,
Google Play sent out a message to every app owner yesterday with a notification that apps including OpenSSL library with a version lower than 1.0.1r or 1.02f will not be allowed after July 11th. The email roughly looks like the following:
Your app(s) listed at the end of this email utilize a version of OpenSSL that contains one or more security vulnerabilities. If you have more than 20 affected apps in your account, please check the Developer Console for a full list.
Please migrate your app(s) to OpenSSL 1.02f/1.01r or higher as soon as possible and increment the version number of the upgraded APK. Beginning July 11, 2016, Google Play will block publishing of any new apps or updates that use older versions of OpenSSL. If you?re using a 3rd party library that bundles OpenSSL, you?ll need to upgrade it to a version that bundles OpenSSL 1.02f/1.01r or higher.
The vulnerabilities were addressed in OpenSSL 1.02f/1.01r. The latest versions of OpenSSL can be downloaded here. To confirm your OpenSSL version, you can do a grep search for ($ unzip -p YourApp.apk | strings | grep "OpenSSL")."
The Wikitude SDK 5.1.x is using OpenSSL 1.0.1j which included a fix for the Heartbleed bug. The notification from 31st of March 2016 is new and Wikitude will provide an update to the Wikitude SDK in time, so customer and users of the Wikitude SDK are not affected by the security measurement by Google Play. This will be either a short-term maintenance release or included in the next feature release.
: Wikitude will include the latest OpenSSL 1.0.1 branch (at the moment 1.0.1s) in the Wikitude SDK 5.x (JavaScript) branch (likely to be 5.2.0). Older version of the Wikitude SDK (2.x, 3.x, 4.x) will not receive the update. Wikitude official extensions will also receive the update. The Wikitude SDK Native API and the Unity Plugin are not affected by this. At the moment we are looking at a release date end of April/early May.
: The final stable release 5.2.0/1.3.0 now includes OpenSSL 1.0.1r and resolved this issue. Please use only this and don't use any pre-release version of the SDK.
J
Jonathan Dart
said
about 7 years ago
The issue I mentioned above still seems to be present in the tagged commit on github.
The WikitudePlugin.js seems to be missing an essential bit to make it work:
6. check for the OpenSSL version again using (unzip -p android-release-unsigned.apk | strings | grep "OpenSSL")
and still returns me i.e. RC2 part of OpenSSL 1.0.1j 15 Oct 2014
Also, is that version working for ios? because now i cordova build ios, it gave me this error:
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/documents/SIDAR SDK5/platforms/ios/cordova/build-debug.xcconfig,-project,SID AR.xcodeproj,ARCHS=i386,-target,SID AR,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/documents/SIDAR SDK5/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/documents/SIDAR SDK5/platforms/ios/build/sharedpch ERROR building one of the platforms: Error: /Users/documents/SIDAR SDK5/platforms/ios/cordova/build: Command failed with exit code 2 You may not have the required environment or OS to build this project Error: /Users/documents/SIDAR SDK5/platforms/ios/cordova/build: Command failed with exit code 2 at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at maybeClose (internal/child_process.js:821:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
Thanks!
Lidya
T
Takamitsu Araki
said
about 7 years ago
hi Daniel Guttenberg
Thank you very much for releasing latest version.
I installed wikitude-cordova-plugin(5.2.0-3.3.0) and tried to build.
But those errors still occur. I attach error log files to this post.
Could you tell me what is wrong, if you know the cause.
Thank you!
--------------------
build error for android
--------------------
Discovered plugin "Camera" in config.xml. Adding it to the project
Failed to restore plugin "Camera" from config.xml. You might need to try adding it again. Error: Error: no such package available : Camera
--------------------
build error for iOS
--------------------
Discovered plugin "Camera" in config.xml. Adding it to the project
Failed to restore plugin "Camera" from config.xml. You might need to try adding it again. Error: Error: no such package available : Camera
A
Andreas Schacherbauer
said
about 7 years ago
Hi Jonathan, How do you install our plugin? Do you try to build our example application or your own project including our plugin?
Best regards,
Andreas
D
Daniel Guttenberg
said
about 7 years ago
@ Lidya Agustina
I just created and built an app from scratch using the official 5.2.0-3.3.0 cordova release package from http://www.wikitude.com/download/.
The grep output of the resulting apk reads RC2 part of OpenSSL 1.0.1r 28 Jan 2016.
Are you positive, that you grep'd the information from the correct apk file? (<your_project_root>/platforms/android/build/outputs/apk/android-release-unsigned.apk for --release)
If so, I would like you to try to build an empty application and check the apk created thereby.
Please execute the following commands in your terminal of choice:
The open the AndroidManifest.xml file in <project_root>/platforms/android/ with whatever text editor you fancy and change the android:minSdkVersion from 14 to 15.
I tested this using the latest cordova version (6.2.0).
Regarding iOS: I also created and built an empty application using the latest cordova-ios version (4.2.0) without any issues. I would recommend removing the cordova-ios package you currently have installed and reinstalling the latest one:
1. cordova platform remove ios
2. cordova platform add ios@4
D
Daniel Guttenberg
said
about 7 years ago
@ Takamitsu Araki
Could you provide your config.xml file for me to have a look at?
Philipp Nagele