Search Unity

Everyplay is not working in adobe air Android

Discussion in 'Unity Everyplay' started by deccosantos, Oct 22, 2015.

  1. deccosantos

    deccosantos

    Joined:
    Oct 16, 2015
    Posts:
    4
    Hi everyone, i'm developing a game using adobe air for android and for IOS. I´m trying to implement Everyplay in my game but i got errors. In IOS it's working greatly but in Android, when I tap in the button to open Everyplay, my app crash.

    I created a blank app to see if my app that was the problem but it is looking like if the Everyplay manifest is not working.

    Can someone help me with this? I just need this to finish my game and publish it.

    Since now thanks
     
  2. ullatussimo

    ullatussimo

    Unity Technologies

    Joined:
    Jun 16, 2015
    Posts:
    108
    Hello @deccosantos ,

    We have identified some issues in Adobe Air version of our SDK. Our engineers are working on fixing these issues.
    I will post an update here when the update is ready and out.

    Cheers,
    Simo
     
  3. deccosantos

    deccosantos

    Joined:
    Oct 16, 2015
    Posts:
    4
    @ullatussimo there is any expectation when new version will be ready? I'm just waiting this to post my new game in android version.
     
  4. scaryama

    scaryama

    Joined:
    Nov 9, 2015
    Posts:
    1
    Please....Fix this Crash...
     
  5. ullatussimo

    ullatussimo

    Unity Technologies

    Joined:
    Jun 16, 2015
    Posts:
    108
    Hello @deccosantos @scaryama,

    Sorry for the delay! The new version of the Everyplay AIR SDK is now live and available right here:
    https://github.com/Everyplay/everyplay-air-sdk
    It fixes the crash in opening the Everyplay Main Modal and improves compatibility on both Android and iOS devices.

    In case you wish to use the FaceCam functionality of Everyplay on Android, you'll need to manually add the following permissions to your project:
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-feature android:name="android.hardware.camera" android:required="false" />
    <uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

    These permissions will be added to the Everyplay AIR SDK in the next update among other improvements.

    Hope this helps!

    Cheers,
    Simo
     
  6. deccosantos

    deccosantos

    Joined:
    Oct 16, 2015
    Posts:
    4
    @ullatussimo thanks for your help but it's not working yet. When i click in the everyplay button my app still crashing!
     
    Last edited: Nov 15, 2015
  7. ullatussimo

    ullatussimo

    Unity Technologies

    Joined:
    Jun 16, 2015
    Posts:
    108
    Hi @deccosantos ,

    That's weird. On our tests the crash was fixed by the update.
    Can you provide a test project that reproduces the issue / more information about your setup to support@everyplay.com ?

    Cheers,
    Simo
     
  8. deccosantos

    deccosantos

    Joined:
    Oct 16, 2015
    Posts:
    4
    @ullatussimo Could you please send me a test project? I tried using this code:

    if(Everyplay.isSupported()){

    Everyplay.configureEveryplay("c5b952fd5....", "df611c....", "https://m.everyplay.com/auth");
    Everyplay.initEveryplay();
    }

    everyplayBt.addEventListener(MouseEvent.CLICK, everyPlay);
    function everyPlay(evt: MouseEvent): void {
    if (Everyplay.isSupported()) {
    Everyplay.showEveryplayWithPath("/feed/game");
    }
    }

    And in Manifest I use this:

    <!-- EveryPlay -->
    <activity
    android:name="com.everyplay.Everyplay.view.EveryplaySocialActivity"
    android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"
    android:theme="@android:style/Theme.NoTitleBar"
    android:windowSoftInputMode="adjustResize"
    android:screenOrientation="sensor"
    android:hardwareAccelerated="true" />
    <activity
    android:name="com.everyplay.Everyplay.view.EveryplayTextInputActivity"
    android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"
    android:theme="@android:style/Theme.NoTitleBar"
    android:windowSoftInputMode="stateVisible|adjustResize"
    android:screenOrientation="sensor"
    android:hardwareAccelerated="false" />
    <activity
    android:name="com.everyplay.Everyplay.view.videoplayer.EveryplayVideoPlayerActivity"
    android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
    android:windowSoftInputMode="adjustResize"
    android:screenOrientation="sensor"
    android:hardwareAccelerated="true" />
    <activity
    android:name="com.everyplay.Everyplay.view.videoplayer.EveryplayVideoEditorActivity"
    android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
    android:windowSoftInputMode="adjustResize"
    android:screenOrientation="sensor"
    android:hardwareAccelerated="true" />
    <activity
    android:name="com.everyplay.Everyplay.view.EveryplaySharingModalActivity"
    android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"
    android:theme="@StyLe/EveryplaySharingModal"
    android:windowSoftInputMode="adjustResize"
    android:screenOrientation="sensor"
    android:fitsSystemWindows="true"
    android:hardwareAccelerated="true" />
    <activity
    android:name="com.everyplay.Everyplay.view.browser.EveryplayBrowserActivity"
    android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"
    android:theme="@android:style/Theme.NoTitleBar"
    android:windowSoftInputMode="adjustResize"
    android:screenOrientation="sensor"
    android:hardwareAccelerated="false" />
    <activity
    android:name="com.everyplay.Everyplay.view.auth.EveryplayAuthActivity"
    android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"
    android:theme="@android:style/Theme.NoTitleBar"
    android:screenOrientation="sensor"
    android:hardwareAccelerated="false"
    android:windowSoftInputMode="adjustResize" />
    <activity
    android:name="com.everyplay.Everyplay.view.auth.EveryplayAddConnectionActivity"
    android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"
    android:theme="@android:style/Theme.Dialog"
    android:hardwareAccelerated="false"
    android:screenOrientation="sensor"
    android:windowSoftInputMode="adjustResize" />
    <activity
    android:name="com.everyplay.Everyplay.communication.socialnetworks.EveryplayFacebook"
    android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize"
    android:theme="@android:style/Theme.Dialog"
    android:hardwareAccelerated="false"
    android:screenOrientation="sensor"
    android:windowSoftInputMode="adjustResize" />
    <service
    android:name="com.everyplay.Everyplay.communication.upload.EveryplayUploadService" />

    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
    <uses-permission android:name="android.permission.CAMERA"/>
    <uses-permission android:name="android.permission.RECORD_AUDIO"/>
    <uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    <uses-permission android:name="com.android.vending.BILLING" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>

    When i click in the button, app just close.

    Just remeber that in IOS is working greatly
     
  9. Clockworkelements

    Clockworkelements

    Joined:
    Feb 23, 2016
    Posts:
    12
    I guess you just need to have the updated version of adobe especially that you are using only the iOS! Most of this case often have a trouble in the iPad.