Start a new topic

OpenSSL upgrade - Google Play notification

OpenSSL upgrade - Google Play notification


Hi Shymaa,
There is no public Wikitude SDK version 5.2.2. Can you please verify your version number and let us know which one you use?

All of our current SDK products (including the Unity extension) include a version of OpenSSL which resolves the Google Play message from the top of this thread. If you got a different notification from Google Play, please share it with us.

 

Best regards,

Andreas

I'm using wikitude unity plugin in the same application Developed by SDK 5.2.2 .

Is it a problem ?! 

Hi Shymaa,
Wikitude SDK 5.2.0 and 5.3.0 definitely solve the OpenSSL issue claimed by Google. Can you please make sure that the Wikitude SDK that you use in your project is equal or newer than 5.2.0. If you think this is a newer error message from Google Play please paste the error message here and we can check. 
Alternatively, maybe a different library has a conflicting version of OpenSSL packaged?

Best regards,

Andreas

I'm using Wikitude SDK 5.2 and update apk still rejected by Google Play due to OpenSSL problem .

Please Help ?!

Hi Takamitsu Araki,

 

I'm afraid I cannot assist you with your issue. If I understood correctly, you seem to not be able to build without the Wikitude Cordova plugin. If that actually is the case, then you seem to be having issues not related to our plugin.

 

I recommend you follow the guide I posted previously for Lidya and create a new project. Maybe this will solve your issue.

 

Kind regards

Daniel

hi Daniel Guttenberg

Thank you very much for your support.

As I posted above(post at 7/12/16 11:06 AM),  we still have problem for build. 

Could you tell me what we can do for solving this build error,

if you have further information?

Thank you!

 

 

hi Andreas Schacherbauer, Daniel Guttenberg

 

Thank you very much for your swift support.

 

>The error in your log refers to the Camera plugin which should not be our plugin. 

>Can you build your project without our plugin but with the Camera plugin? 

>The error message kind of is that the Camera plugin is unknown.

 

I have just built without wikitude-cordova-plugin 5.2.0-3.3.0 but with the Camera plugin

(= excluding wikitude-cordova-plugin 5.2.0-3.3.0 and including Camera plugin).

 

Build for Android finished successfully.

But build for iOS failed.

 

I attache Error log of build for iOS to this post.

 

I tried many version of camera plugin. But build failed in all version.

 

 











wikitude cordova

camera
plugin

build



ios

Android



without
wikitude-cordova-plugin
5.2.0-3.3.0

2.2.0

fail

success



2.1.1

fail

N/A



2.1.0

fail

N/A



2.0.0

fail

N/A



removed

fail

N/A



with
wikitude-cordova-plugin
5.2.0-3.3.0

2.2.0

fail

fail





 

Thank you very very much for your eager support.

 

--------------------

biuld error

--------------------

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

--------------------

@ Takamitsu Araki

As Andreas aldready suggested, you seem to be missing the 'Camera' plugin you are referring to in your config.xml file.

I would like you to try to re-add it by running the following command in your project root:

 

cordova plugin add https://github.com/apache/cordova-plugin-camera.git

hi Daniel Guttenberg

 

I appreciate your swift support very much.

config.xml of our application is as followring.

Thank you!

 

--------------------

config.xml

--------------------

<?xml version="1.0" encoding="UTF-8"?>

<widget xmlns="http://www.w3.org/ns/widgets" id="MyAppID" version="1.0.0">

  <name>MyCompanyManual</name>

  <description>OM App</description>

  <author/>

  <content src="index.html"/>

  <preference name="loglevel" value="DEBUG"/>

  <preference name="AndroidLaunchMode" value="singleTop"/>

  <preference name="ErrorUrl" value=""/>

  <preference name="SplashScreen" value="screen"/>

  <preference name="monaca:DisableCookie" value="false"/>

  <feature name="App">

    <param name="android-package" value="org.apache.cordova.App"/>

  </feature>

  <preference name="AllowInlineMediaPlayback" value="false"/>

  <preference name="BackupWebStorage" value="none"/>

  <preference name="FadeSplashScreenDuration" value=".25"/>

  <preference name="KeyboardDisplayRequiresUserAction" value="true"/>

  <preference name="MediaPlaybackRequiresUserAction" value="false"/>

  <preference name="SuppressesIncrementalRendering" value="false"/>

  <preference name="TopActivityIndicator" value="gray"/>

  <preference name="GapBetweenPages" value="0"/>

  <preference name="PageLength" value="0"/>

  <preference name="PaginationBreakingMode" value="page"/>

  <preference name="PaginationMode" value="unpaginated"/>

  <feature name="LocalStorage">

    <param name="ios-package" value="CDVLocalStorage"/>

  </feature>

  <plugin name="Camera" value="CDVCamera"/>

  <allow-navigation href="*"/>

  <allow-intent href="itms:*"/>

  <allow-intent href="itms-apps:*"/>

  <allow-navigation href="*"/>

  <preference name="BackupWebStorage" value="none"/>

  <preference name="AndroidPersistentFileLocation" value="Compatibility"/>

  <preference name="iosPersistentFileLocation" value="Library"/>

  <preference name="monaca:targetFamilyiPhone" value="1"/>

  <preference name="monaca:targetFamilyiPad" value="0"/>

  <preference name="AutoHideSplashScreen" value="true"/>

  <preference name="FadeSplashScreen" value="true"/>

  <preference name="ShowSplashScreenSpinner" value="false"/>

  <preference name="EnableViewportScale" value="true"/>

  <access origin="*"/>

  <preference name="KeepRunning" value="true"/>

  <preference name="monaca:AndroidIsPackageNameSeparate" value="false"/>

  <preference name="DisallowOverscroll" value="true"/>

  <preference name="monaca:WebViewEngine" value="default"/>

  <preference name="Orientation" value="portrait"/>

  <preference name="SplashScreenDelay" value="1000"/>

  <preference name="Fullscreen" value="true"/>

</widget>

 

Hi Takamitsu,
The error in your log refers to the Camera plugin which should not be our plugin. Can you build your project without our plugin but with the Camera plugin? The error message kind of is that the Camera plugin is unknown.

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

 


Best regards,

Andreas

@ Takamitsu Araki

Could you provide your config.xml file for me to have a look at?

 

@ 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:

1. cordova create cordova_empty com.lidya.empty cordova_empty

2. cd cordova_empty

3. cordova platform add android@5

4. cordova plugin add <path_to_the_extracted_cordova_package>

 

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.

 

5. cordova build android --release

6. cd platforms/android/build/outputs/apk/

7. unzip -p android-release-unsigned.apk | strings | grep "OpenSSL"

 

I would expect OpenSSL version 1.0.1r now.

 

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

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

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

Hello Daniel, thanks for the reply.

I still got 1.0.1j

i followed your instruction:

1. Download from http://www.wikitude.com/download/ Version 5.2.0-3.3.0 08.07.2016 ? 63.1 MB and extract the Cordova Plugin archive

2. Open  terminal application and change working directory to the root folder of your project

3. run "cordova plugin remove com.wikitude.phonegap.WikitudePlugin"

4. run "cordova plugin add <path_to_the_extracted_plugin_content>" (i.e. "cordova plugin add ~/Downloads/wikitude-cordova-plugin-5.2.0-3.3.0")

5. run "cordova build android --release"

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
Login or Signup to post a comment