Jump to content


Verified Members
  • Posts

  • Joined

  • Last visited

Posts posted by Phillrb

  1. @HackPerception how is an app meant to direct or enforce the user set a device PIN? 

    Are the standard Android APIs meant to be used or is there an alternative?

    These are the steps a user can take to achieve it manually; but it'd be great if we could direct users there programmatically and check that the outcome is as required (PIN has been set):


    Thanks @Tony PH Lin

  2. Removing this functionality is a real shame.

    Are there any APIs that would at least allow the app to set the skybox to the external camera stream?

    Our app doesn't actually want access to the stream itself (and that's probably the security concern) but just to give the user awareness of their surroundings via a pass-through skybox whilst still using our app. Please bring back this significant benefit to the user! 

  3. There's a requirement in our product to have the user set a device PIN. Sadly, redirecting the user to the Android Set Device PIN screen is inconsistent and broken.   

    In Android, you can test for device PIN / password using:


    KeyguardManager keyguardManager = (KeyguardManager) unityActivityContext.getSystemService(Context.KEYGUARD_SERVICE);
    bool isSet = keyguardManager.isKeyguardSecure();

    You can then redirect the user to set a device PIN using:


    Intent pinSetIntent = new Intent(DevicePolicyManager.ACTION_SET_NEW_PASSWORD);
    pinSetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);

    We are experiencing the following issues:

    • sometimes keyboard does not show to allow user to enter PIN
    • sometimes a black screen is shown instead of the settings screen
    • if user already has a device PIN set, PIN cannot be changed as there is a crash after entering the current PIN to authorize the change
    • sometimes nothing happens at all

    Can a member of VIVE support please:

    1. confirm the recommended way for an app to enforce a device PIN be set?
    2. confirm how to reliably redirect users to the 'Set device PIN' screen?

    Thanks! @Corvus @Tony PH Lin @Dario

  4. Hello,

    I'm currently including my own Android .AAR library in my Unity project (Unity 2019.1.8f1) which has a conflict of dependencies with the WaveVR SDK.

    The library requires the following to support its use of Kotlin:

    • implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.72"
    • implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1"
    • implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1"

    These includes are so that the library can utilise:

    • kotlinx.coroutines.GlobalScope
    • kotlinx.coroutines.async

    My project makes use of a 'mainTemplate.gradle' file to declare the above dependencies. There is a '**deps**' marker included which allows the WaveSDK to have its own dependencies injected into this file.

    The end result are 100s of the following type of duplicate class errors:

    • Duplicate class kotlin.reflect.KMutableProperty1$Setter found in modules kotlin-stdlib-1.4.0.jar (org.jetbrains.kotlin:kotlin-stdlib:1.4.0) and org.jetbrains.kotlin-kotlin-stdlib-1.3.20.jar (:wvr_client:)


    1. What are the Android library dependencies of the WaveSDK?
    2. How can I workaround this issue? Perhaps I can exclude some groups as suggested here: https://stackoverflow.com/questions/48027019/how-to-manage-different-support-library-versions-for-3rd-party-deps-with-gradle


  • Create New...