Search Unity

How to integrate StartApp's SDK for unity?

Discussion in 'Android' started by Kfiro, May 4, 2013.

  1. Kfiro

    Kfiro

    Joined:
    Mar 13, 2013
    Posts:
    2
    Hello,

    I have seen a few questions regarding StartApp's Unity SDK integration. Here is a short explanation on how to make it work properly and a few more extras.

    First of all, this SDK is designed to work across all Android devices. It supports all versions but activates only on Android OS 2.1 and above. In lower versions, the SDK won't be active.

    SDK integration steps

    Integrating the StartApp SDK into your App in three simple steps:
    1. Add the StartApp plugin to your Unity project
    2. Add the SDK files to your Unity project
    3. Update StartApp-Ids in your manifest

    1. Add the StartApp plugin to your Unity project
    a. Copy the StartAppPlugin.cs to the Assets folder.
    b. Drag the StartAppPlugin.cs to your main component.
    2. Add the SDK files to your Unity project
    a. Right click on your Assets folder in Unity.
    $new1.png

    b. Create a Plugins folder if does not exist.
    c. Right click on you Plugins folder.
    d. Create an Android folder if does not exist.
    e. Copy the following files from the SDK zip to the Android folder :
    AndroidManifest.xml
    StartAppSearchSDK-2.0.1-jar-with-dependencies.jar
    StartAppUnityWrapper.jar

    $new2.png

    3. Update the Manifest file
    Update the AndroidManifest.xml (in Plugins/Android folder) as follows:
    a. if you choose “partial integration”, remove the following permissions:
    <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/>
    <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
    b. Under the application node replace <Developer ID> and <App ID> with your developer ID and app ID:
    <meta-data android:name="com.startapp.android.DEV_ID" android:value="<Developer ID>"/>
    <meta-data android:name="com.startapp.android.APP_ID" android:value="<App ID>"/>
    You can find your IDs in the developer portal ( developers.startapp.com). After logging in, you will find your developer ID at the top of page:
    $new3.png

    To find your application ID, click on Dashboard, and then choose the relevant ID from your app list:
    $new4.png

    You are now ready to publish your App. Please note the following:
    When publishing the App on an App market, add the StartApp disclaimer from the developer portal and place the text in the bottom of the app description.


    Hope this clears up a few questions.

    Cheers,

    Kfiro
    http://www.startapp.com/?LinkID=496
     
    Last edited: May 4, 2013
  2. kris8360

    kris8360

    Joined:
    Jan 11, 2013
    Posts:
    34
    I followed these step, yet I get these errors:
    $error.jpg

    Tried with unity v3 and v4, I get the same errors. Any ideas?
     
  3. bitter

    bitter

    Unity Technologies

    Joined:
    Jan 11, 2012
    Posts:
    530
    The editor is not capable of running java code, you need to deploy your project to an android device.
     
  4. kris8360

    kris8360

    Joined:
    Jan 11, 2013
    Posts:
    34
    Thanks, I did not know that, it works on my phone.
    But I can't build the project unless I disable my antivirus, because I got an error that classes.dex is a trojan virus. I don't get it.
    (The eset smart security is in hungarian, but it says that it's a trojan and it got deleted)
    $err.jpg
     
  5. bitter

    bitter

    Unity Technologies

    Joined:
    Jan 11, 2012
    Posts:
    530
    Try excluding the project folder from your antivirus program. This is generally a good idea for any file structure (you consider safe) that updates a lot of files since anti virus programs tend to slow down file operations tremendously.
     
  6. rc183

    rc183

    Joined:
    Sep 6, 2013
    Posts:
    3
    I'm interesting by StarApp and the integration in unity bu where we can find the files StartAppPlugin.cs and StartAppUnityWrapper.jar ?

    Thank you
     
  7. NaumanH

    NaumanH

    Joined:
    Jul 10, 2012
    Posts:
    8
    Hi Kfiro,
    I'm having the same question rc183 asked.
    where do we find StartAppPlugin.cs and StartAppUnityWrapper.jar?
    rc183 did you find any solution in integrating StartApp?

    Thanks
     
  8. Nitrohex

    Nitrohex

    Joined:
    Jan 16, 2013
    Posts:
    58
    This is the StartApp SDK for Unity that i got on mail from StartApp View attachment $InApp_Unity_207.rar
    Its easy to implement, just follow the instructions in the pdf manual.
     
  9. Seifwares

    Seifwares

    Joined:
    Jul 28, 2013
    Posts:
    16
    Hello ,

    i have a problem with startapp , my Unity application is in the googleplay and i have integrated the Startapp , but i still not have any downloads on my dash bord , the strange thing that im getting impressions to my app but downoald still 0 ?!!
     
  10. arjeriababa

    arjeriababa

    Joined:
    Jan 26, 2014
    Posts:
    22
  11. arjeriababa

    arjeriababa

    Joined:
    Jan 26, 2014
    Posts:
    22
    Hello Can I know How much Money your are getting from Startapp?