Hi,
 
At the moment we're setting up a new and much better forum for you, so we can provide even better support! This is why this forum is in ‘read-only' mode for as long as we're migrating the content.
 
Please visit our brand new forum at https://support.wikitude.com to report your issues.
 
Should you wait for an urgent answer, please contact us via forum@wikitude.com (make sure to include the title of your post, so we can help you more efficiently).
 
Thank you,
The Wikitude Team
« Back

Nexus 7 and openSSL Upgrade

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Nexus 7 and openSSL Upgrade
Answer
7/7/16 12:08 PM

Hi,

We have updated our application with the upgrade version of wikitude for the openSSL recently and now we have noticed that the AR does not recognise the object by using Nexus 7 (Android version 6.0).

We have tested by taking the new version of wikitude and we placed back the old version without openSSL upgrade and we have seen that the AR is working correctly with Nexus 7 (Android version 6.0).

Are there any issue similar to our case and any solutions?

Thank you!


RE: Nexus 7 and openSSL Upgrade
Answer
7/7/16 3:01 PM as a reply to Nakasha 519421.

Hello Nakasha,

Can you please send over your whole AR experience (.html, .css, .js, files, assets, target images) so that we can test internally? Also, just to verify, were you using Wikitude Cordova 5.1.4 before?

Thank you


RE: Nexus 7 and openSSL Upgrade
Answer
7/8/16 4:36 AM as a reply to Eva Trianafillopoulou.

Hi 

Thank you for your reply.

We were using wikitude cordova plugin 5.1.4(bofore openSSL upgrade) and we replaced it to the one with the openSSL upgrade.

Here is our AR experience and please let us know if you need any additional information. 

/**
 * start AR
 */
function arStart() {
    //HTML pass for AR screen
    var request_ar = AR_PATH;
    var requests = [];
 
    //AR type → "geo","2d_tracking"
    request_ar = AR_PATH_IMG + "?timestamp=" + new Date().getTime();
    var ar_type = ["2d_tracking"];
    
    ar_app.initialize(request_ar, ar_type);
}
var ar_app = {
    // Url/Path to the augmented reality experience you would like to load
    arExperienceUrl: "",
    // The features your augmented reality experience requires, only define the
    // ones you really need
    requiredFeatures: ["geo"],
    // Represents the device capability of launching augmented reality
    // experiences with specific features
    isDeviceSupported: false,
    // Additional startup settings, for now the only setting available is
    // camera_position (back|front)
    startupConfiguration: {
        "camera_position": "back"
    },
    // Application Constructor
    initialize: function(path, type) {
        this.arExperienceUrl = path;
        this.requiredFeatures = type;
        this.bindEvents();
    },
    // Bind Event Listeners
    //
    // Bind any events that are required on startup. Common events are:
    // 'load', 'deviceready', 'offline', and 'online'.
    bindEvents: function() {
        document.addEventListener('deviceready', this.onDeviceReady, false);
    },
    // deviceready Event Handler
    onDeviceReady: function() {
        ar_app.wikitudePlugin = cordova.require("com.wikitude.phonegap.WikitudePlugin.WikitudePlugin");
        ar_app.wikitudePlugin.isDeviceSupported(ar_app.onDeviceSupported, ar_app.onDeviceNotSupported, ar_app.requiredFeatures);
    },
    // Callback if the device supports all required features
    onDeviceSupported: function() {
        ar_app.isDeviceSupported = true;
        ar_app.wikitudePlugin.setOnUrlInvokeCallback(ar_app.onUrlInvoke);
        ar_app.wikitudePlugin.loadARchitectWorld(
            ar_app.onARExperienceLoadedSuccessful,
            ar_app.onARExperienceLoadError,
            ar_app.arExperienceUrl,
            ar_app.requiredFeatures,
            ar_app.startupConfiguration
        );
    },
    // Callback if the device does not support all required features
    onDeviceNotSupported: function(errorMessage) {
        _alert("Device is not supported");
    },
    // Callback if your AR experience loaded successful
    onARExperienceLoadedSuccessful: function(loadedURL) {
        /*
         * Respond to successful augmented reality experience loading if you
         * need to
         */
    },
    // Callback if your AR experience did not load successful
    onARExperienceLoadError: function(errorMessage) {
        _alert('Loading AR web view failed: ' + "");
    },
    // This function gets called if you call "document.location =
    // architectsdk://" in your ARchitect World
    onUrlInvoke: function(url) {
    if (url.indexOf('quit') > -1) {
            if (!ua.isIOS) {
                ar_app.wikitudePlugin.hide();
            }
            setTimeout(function() {
                ar_app.wikitudePlugin.close();
            }, 500);
        } else if (url.indexOf('close') > -1) {
            //Close AR
            if (ua.isIOS) {
                ar_app.wikitudePlugin.close();
            } else {
                ar_app.wikitudePlugin.hide();
                setTimeout(function() {
                    ar_app.wikitudePlugin.close();
                }, 1000);
            }
        } else if (url.indexOf('vibrate') > -1) {
            boot_alert();
        } else if (url.indexOf('restart') > -1){
        //Restart the application when there is no GPS information by AR
            ar_app.wikitudePlugin.close();
            setTimeout(function(){
                arFunction();
            },1000);
        }else{
            _alert(url + "not supported");
        }
    }
};
 
 
Additional info,
 
//version for framework and platform.
Cordova 6.2.0
iOS 3.9.2
Android 5.1.1
 
//call of wikitude plugin
arFunction;
 
//updated plugin version.
5.1.4 -> it's not working.
5.2.0 -> it's not working.

RE: Nexus 7 and openSSL Upgrade
Answer
7/20/16 8:41 AM as a reply to Nakasha 519421.

Hi Nakasha,
It sounds strange that the update to SDK 5.2.0 broke your Architect World. Can you please share a demo Cordova project with us so that we can investigate your issue further? THX!
You could also implement the onLoaded/onError callback for your AR.ClientTracker in order to verify that the tracker could be loaded.

Best regards,
Andreas

RE: Nexus 7 and openSSL Upgrade
Answer
8/2/16 11:06 PM as a reply to Andreas Schacherbauer.

Hi,

I also have exactly same problem on Nexus 7. I checked the loaded event and everything was working correctly. I tested with many devices and it's working well(Nexus 5 with Android 6.0, Galaxy Note with Android 6.0.1 and Galaxy Tab with Android 5). I tested with Nexus 7(Android 6.0.1 - latest version). Please check it... Thank you.

 


RE: Nexus 7 and openSSL Upgrade
Answer
8/3/16 11:28 AM as a reply to Joshua Ra.

Hi Joshua, Nakasha,
I don't quite understand your problems. What is it exactly that is not working? Is the Architect World not loaded or assets from the Architect World?

Best regards,
Andreas

RE: Nexus 7 and openSSL Upgrade
Answer
8/3/16 3:22 PM as a reply to Andreas Schacherbauer.

Hi,

Architect World and WTC file are loaded correctly but when I scan image, AR(IR:Image Recognition) does not recognise image. I tested same App in different devices and it's working well(IR). Thank you.


RE: Nexus 7 and openSSL Upgrade
Answer
8/4/16 8:34 AM as a reply to Joshua Ra.

Hi Joshua,
I'm not sure if I understood your message correctly. Are you still experiencing problems recognising a target image or is your problem solved?

Best regards,
Andreas

RE: Nexus 7 and openSSL Upgrade
Answer
8/4/16 3:09 PM as a reply to Andreas Schacherbauer.

Hi,

I also tested with Nexus 5(latest Android version - it's same Android version) and it's working well. Only Nexus 7 has IR problem. I checked with console log and I got WTC loaded event but IR is not working. Thank you.


RE: Nexus 7 and openSSL Upgrade
Answer
8/5/16 7:50 AM as a reply to Joshua Ra.

If you get a log saying that the .wtc is loaded, then the OpenSSL update can't be an issue as this would be used to download the .wtc. Are you using our 'final' release of SDK 5.2.0, downloaded from our main download page or do you use a pre-release version that was linked in our forum?

Best regards,
Andreas

RE: Nexus 7 and openSSL Upgrade
Answer
8/11/16 4:33 PM as a reply to Andreas Schacherbauer.

Hi,

So I tested with final release version SDK 5.2.0 and I got same result(It's not working). I also tested loading WTC file from web(not local) but it's also same result. I also tested with Nexus 5(Latest version) but it's working well. Thank you.


RE: Nexus 7 and openSSL Upgrade
Answer
8/12/16 1:19 PM as a reply to Joshua Ra.

Hi Joshua,
I created an internal bug report and we will provide more information once we started investigation.

Best regards,
Andreas

RE: Nexus 7 and openSSL Upgrade
Answer
9/13/16 9:36 AM as a reply to Andreas Schacherbauer.

Hi,

Any news on this?  We are facing the same issue on Nexus 7. But because other devices may be affected as well, we have rolled back to 5.1.4.

Thx,

Tim


RE: Nexus 7 and openSSL Upgrade
Answer
10/27/16 12:37 PM as a reply to Andreas Schacherbauer.

Hi Andreas

We are experiencing this issue as well. We use Nexus 7 to run a lot of our events with clients and it's preventing us from releasing a new Android version on the Google Store.

Could you provide an update on ETA for a fix as this is now impacting on our business?

Many thanks

Maria Carmo, on behalf of Peter Barker/Wildgoose


RE: Nexus 7 and openSSL Upgrade
Answer
10/31/16 8:27 AM as a reply to Peter Barker.

Hi @all,
We scheduled this task for our next sprint which starts this week.

Best regards,
Andreas

RE: Nexus 7 and openSSL Upgrade
Answer
11/8/16 8:54 AM as a reply to Andreas Schacherbauer.

Hi @all,

we have a fix for this issue and it will be in the upcoming release.

Best regards,
Alex


RE: Nexus 7 and openSSL Upgrade
Answer
11/9/16 10:58 AM as a reply to Alexander Bendl.

Hi Alexander,

Thanks for the info. Do you know if the Titanium module will be updated too ?

 


RE: Nexus 7 and openSSL Upgrade
Answer
11/9/16 2:25 PM as a reply to Jeremy 317447.

Hi Jeremy,
The upcoming 5.3.1 release will be available for iOS/Android JS/Native API and all extensions at the same time.

Best regards,
Andreas