Heyzap Mediation Sdk 9 - Android/eclipse [tutorial]

Discussion in 'Advertising' started by Christoph, Jun 2, 2016.

  1. Cristian

    Cristian Avid Boxer

    Joined:
    Aug 1, 2016
    Messages:
    143
    Likes Received:
    27
    So basic exporting from bb228 but using heyzap sdk exported from bb227?

    Any ideqs about the error re secirity message above?

    Thanjs
    C
     
  2. Cristian

    Cristian Avid Boxer

    Joined:
    Aug 1, 2016
    Messages:
    143
    Likes Received:
    27
    @Andy @Christoph @jcalle

    Do you guys have any idea about this error?

    Your app is sending Advertising ID over an unencrypted connection.
    This isn't recommended because network intermediaries might be able to intercept it. You should use an encrypted connection when sending Advertising ID


    What I did so far:

    1. Export from BB227
    2. Import in eclipse.
    3. Added vungle 3.5 sdk, applovin 6.3.0
    4. Added these activities:

    <!-- Google Play Services -->
    <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
    <!-- AdMob -->
    <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
    <!-- AppLovin -->
    <activity android:name="com.applovin.adview.AppLovinInterstitialActivity" />
    <activity android:name="com.applovin.adview.AppLovinConfirmationActivity" />

    <!-- Vungle -->
    <activity android:name="com.vungle.publisher.FullScreenAdActivity" android:configChanges="keyboardHidden|orientation|screenSize" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
    <activity android:name="com.vungle.publisher.VideoFullScreenAdActivity" android:configChanges="keyboardHidden|orientation|screenSize" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
    <activity android:name="com.vungle.publisher.MraidFullScreenAdActivity" android:configChanges="keyboardHidden|orientation|screenSize" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />

    <!-- Heyzap Ad Network -->
    <activity android:name="com.heyzap.sdk.ads.HeyzapInterstitialActivity" android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize" />
    <activity android:name="com.heyzap.sdk.ads.HeyzapVideoActivity" android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize" />
    <activity android:name="com.heyzap.sdk.ads.HeyzapProxyActivity" />
    <activity android:name="com.heyzap.sdk.ads.VASTActivity" android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize" />
    <activity android:name="com.heyzap.sdk.ads.MediationTestActivity" />
    <receiver android:name="com.heyzap.sdk.ads.PackageAddedReceiver">
    <intent-filter>
    <data android:scheme="package"/>
    <action android:name="android.intent.action.PACKAGE_ADDED"/>
    </intent-filter>
    </receiver>


    5. Added these permissions

    <!-- Required by AdMob, AppLovin, Heyzap Ad Network, and Vungle -->
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <!-- Required by AdMob, AppLovin, Heyzap Ad Network, and Vungle -->
    <uses-permission android:name="android.permission.INTERNET" />
    <!-- Required by AppLovin, and Vungle -->
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    in console i got that message in bold above.

    Is happening only when I add the heyzapp activities. Without heyzapp activities there is no security warning.

    Any ideas?
     
  3. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    I believe this is an issue with the version of the HeyZap SDK. Should be fixed in the next Buildbox releases. You could probably just update the Heyzap.framework file in the export with their latest SDK 9.
     
    Cristian likes this.
  4. Cristian

    Cristian Avid Boxer

    Joined:
    Aug 1, 2016
    Messages:
    143
    Likes Received:
    27
    @Andy So just deleting the PTAHeyzapp.jar and replace that with heyzap-ads-sdk-9.10.1 for example? Is this what you are saying? Thanks.
     
  5. Cristian

    Cristian Avid Boxer

    Joined:
    Aug 1, 2016
    Messages:
    143
    Likes Received:
    27
    @Andy I tried replacing the default sdk for heyzapp with the newest one but is not working. If donging so the rewards videos do not show at all for heyzapp, vungle is not working as well. All these after updating the default sdk exported from BB227 ( vungle and heyzapp all working with the default exported heyzap SDK ) Any other ideas why I get that security message? Is anyone else got that ?
     
  6. jcalle

    jcalle Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,193
    Likes Received:
    541
    I do not use HeyZap.
    I use Admob, and I do not have those kind of problems.
    Change to Admob ;)
     
  7. Cristian

    Cristian Avid Boxer

    Joined:
    Aug 1, 2016
    Messages:
    143
    Likes Received:
    27
    And how about reward videos? You use interstitials and banners only?
     
  8. jcalle

    jcalle Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,193
    Likes Received:
    541
    Only Banners and Interstitials.
    Interstitials, you can configure to display only videos or images and video.

    Admob has a new option of reward video, but I do not know how to integrate it into BB.
     
  9. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    Yes, but rename the SDK to match the one you are replacing (actually I'm not sure if this 100% matters, but I always rename it).
     
  10. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    Ah, I just realized we're talking Android (had iOS on my mind). There is one other file you must replace as well.

    Copy: android/src/com/secrethq/ads/PTAdHeyzapBridge.java from the 2.2.7 export to the 2.2.8+ export.

    I think that will do it. If all else fails I plan on posting a mini-tutorial tomorrow, just working through a few minor glitches here before I can do that.
     
    volcank likes this.
  11. Cristian

    Cristian Avid Boxer

    Joined:
    Aug 1, 2016
    Messages:
    143
    Likes Received:
    27
    I tried to replace and rename as per your input but ads are not even showing.

    Issue is with heyzap SDK since they are sending this ID somehow. Tried with latest sdk, same thing, same advertising ID thing, ads don't even show. Vungle as well do not work o nvungle-publisher-adaptive-id-4.0.3 even I used activities from heyzap dashboard.

    Something is off between BB and Heyzap.
     
  12. Cristian

    Cristian Avid Boxer

    Joined:
    Aug 1, 2016
    Messages:
    143
    Likes Received:
    27
  13. Cristian

    Cristian Avid Boxer

    Joined:
    Aug 1, 2016
    Messages:
    143
    Likes Received:
    27
    @Andy any thoughts on this? Anyone else?
     
  14. Hiro

    Hiro Boxer

    Joined:
    Jun 12, 2016
    Messages:
    22
    Likes Received:
    0
    Hi there, I have tried both this and SDK 10 (your new tutorial) and I keep getting this error:
    Dex Loader] Unable to execute dex: method ID not in [0, 0xffff]: 65536
    google-play-services_lib] R.java was modified manually! Reverting to generated version!

    these errors only appear if I follow this tutorial to add HeyZap Meditation.
    Please help me fix it, I need to fix this urgently
     
  15. sufian

    sufian Boxer

    Joined:
    Jul 9, 2016
    Messages:
    15
    Likes Received:
    1
    i followed the tutorial...if i don't add this line
    HeyzapAds.startTestActivity(PTAdHeyzapBridge.activity);
    my game starts but i m unable to see the ads and if i use the above line to test my application show the load screen and then it keep showing
    "searching for third party network adapters" and nothing happens..
     
  16. Hiro

    Hiro Boxer

    Joined:
    Jun 12, 2016
    Messages:
    22
    Likes Received:
    0
    @sufian exactly same thing. I just gave up no ads.
     
  17. Mr Goodcat

    Mr Goodcat Boxer

    Joined:
    Jun 10, 2017
    Messages:
    98
    Likes Received:
    28
    A little late to the party, but could anyone provide help on how to achieve this with Android Studios?

    Would very much appreciate it.
     
  18. Mr Goodcat

    Mr Goodcat Boxer

    Joined:
    Jun 10, 2017
    Messages:
    98
    Likes Received:
    28
    Did you have any luck with this?
     
  19. brutal

    brutal Boxer

    Joined:
    Mar 5, 2017
    Messages:
    24
    Likes Received:
    17
    hello!
    I was wondering if you could help me. I followed the tutorial and all the networks are green, except for unity ads. It says no sdk detected and manifest missing activities even though I added the sdk from heyzap and the activities in the AndroidManifest. If anyone has any ideas and would like to help it will be very helpful.
    Thank you and sorry for my english
     
  20. sharma.shivam

    sharma.shivam Avid Boxer

    Joined:
    Oct 23, 2016
    Messages:
    180
    Likes Received:
    10
    hi,suppose we want to use try test ads for admob and other networks for an unpublished app then do we need to make any changes in ad id's or do we only need to use Mediation Test Suite.
    thanks a lot! Really appreciate!!
     

Share This Page