Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Prime31 Android Plugins Officially Live!

Discussion in 'Android' started by prime31, Jun 6, 2011.

  1. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    Important note: we will be off the grid with no cellular or internet access and unable to respond until September 27th. In the meantime read the documentation and check back through the forum posts to locate an answer to your question.
     
  2. Nunterfal

    Nunterfal

    Joined:
    Nov 3, 2011
    Posts:
    9
    Hi Prime =)
    I've just updated IAB plugin and got
    Code (csharp):
    1.  
    2. E/Unity   (22282): getMethodID("purchaseProduct", "(Ljava/lang/String;)V") FAILE
    3. D!
    4. D/dalvikvm(22282): GetMethodID: method not found: Lcom/prime31/IABPlugin;.purcha
    5. seProduct:(Ljava/lang/String;)V
    6. I/Unity   (22282): JNI: Unable to find method id for 'purchaseProduct'
    7. I/Unity   (22282): UnityEngine.Debug:Internal_Log(Int32, String, Object)
    8. I/Unity   (22282): UnityEngine.Debug:Log(Object)
    9. I/Unity   (22282): UnityEngine._AndroidJNIHelper:GetMethodID(IntPtr, String, Obj
    10. ect[], Boolean)
    11. I/Unity   (22282): UnityEngine.AndroidJNIHelper:GetMethodID(IntPtr, String, Obje
    12. ct[], Boolean)
    13. I/Unity   (22282): UnityEngine.AndroidJavaObject:GetCachedMethodID(String, Objec
    14. t[], Boolean)
    15. I/Unity   (22282): UnityEngine.AndroidJavaObject:_Call(String, Object[])
    16. I/Unity   (22282): UnityEngine.AndroidJavaObject:Call(String, Object[])
    17. I/Unity   (22282): IABAndroid:purchaseProduct(String)
    18.  
     
    Last edited: Sep 18, 2012
  3. BazLevelUp

    BazLevelUp

    Joined:
    Jun 27, 2012
    Posts:
    36
    Hi prime31 !

    First of all, thx for you plugins. We use a lot of them as they are easy to use :) !
    I have a problem using the inApp Billing plugin for Android.
    So we have a game that is already out and that featured an in-app purchase that would make the game premium.
    The buying part of the plugin worked in the past. Now we've changed our economic system BUT we do want our previous buyer to stay on premium mode ^^

    So what I'd like to do is call some restoreTransactions() at start that would make sure everyone is happy.

    Pb is, whenever I call restoreTransactions(), the event transactionRestoreFailedEvent( string error ) is fired with error = "RESULT_DEVELOPER_ERROR". And of course, I'm not the one who implemented the plugin in our app in the first place, the programmer left the company ><

    I've look on the internet and checked that :
    • I have <uses-permission android:name="com.android.vending.BILLING" /> in my Android_Manifest
      + the <service> and <receiver>, com.prime31.billing.Billing...
    • I have correctly signed with a non-debug keystore the app in Unity
    • The GooglePlay account trying to restore its previous buy is not the same that create the in-app product
    • Our app and the in-app object are live
    • BillingSupported is returning true

    Yet, I can't get any successful transactionsRestoredEvent() :(

    Can you please help me ?
     
  4. younity

    younity

    Joined:
    Aug 18, 2012
    Posts:
    15
    Hello, i try post score using
    Code (csharp):
    1. Facebook.instance.postScore("me",123, onPostScoreCompleted);
    after getting the token, but the callback returns the bool false.

    so i log the error at Facebook.cs, it shows at console:
    Code (csharp):
    1. java.io.FileNotFoundException: https://graph.facebook.com/me/scores
    is there something i am coding wrong?
     
  5. pestantium

    pestantium

    Joined:
    Jun 30, 2011
    Posts:
    49
    Can I create hide button ON admob banner (X-button)? Or I must only use Unity GUI at the border and AdMobAndroid.hideBanner(true);
    $Clipboard01.jpg
     
  6. goldbug

    goldbug

    Joined:
    Oct 12, 2011
    Posts:
    765
    Prime31, we bought the movend plugin, and it works fine with google play, but we are having trouble getting it to work with amazon.
    It says "preparing purchase", and then it goes to a black screen and never prompts the user to purchase.

    Can you please contact Movend, reference Block Story, and work with them to resolve the issue, they are aware of the problem and need help from your side.
     
  7. NestorAlgieri

    NestorAlgieri

    Joined:
    Sep 11, 2011
    Posts:
    299
    Hi there,

    Awesome plugin. However there's a scenario that will crash after a successful purchase. I can reproduce it via the following:

    1.) use a phone that is sort of slow, like a nexus s
    2.) run a memory intensitve Unity game with IAB
    3.) go and purchase an unmanaged item
    4.) in the purchase screen of Google Play, go read the terms and condition or do something that will basically take up so much ram that when you are done doing that, then
    5.) press purchase
    6.) now the Google Play will try to return to your game, but the game is already killed due to memory

    Then the following exception below will occur. And your game will restart itself... and the user will actually have been charged, but he will not get his item! And I do not know how to let me game know that I need to reward the user with what he just paid for.

    Please do help! Thanks!

    09-19 09:54:28.308: E/ActivityThread(18964): Service com.prime31.billing.BillingService has leaked ServiceConnection com.prime31.billing.BillingService@414ce798 that was originally bound here
    09-19 09:54:28.308: E/ActivityThread(18964): android.app.ServiceConnectionLeaked: Service com.prime31.billing.BillingService has leaked ServiceConnection com.prime31.billing.BillingService@414ce798 that was originally bound here
    09-19 09:54:28.308: E/ActivityThread(18964): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:965)
    09-19 09:54:28.308: E/ActivityThread(18964): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:859)
    09-19 09:54:28.308: E/ActivityThread(18964): at android.app.ContextImpl.bindService(ContextImpl.java:1191)
    09-19 09:54:28.308: E/ActivityThread(18964): at android.app.ContextImpl.bindService(ContextImpl.java:1183)
    09-19 09:54:28.308: E/ActivityThread(18964): at android.content.ContextWrapper.bindService(ContextWrapper.java:394)
    09-19 09:54:28.308: E/ActivityThread(18964): at com.prime31.billing.BillingService.bindToMarketBillingService(BillingService.java:554)
    09-19 09:54:28.308: E/ActivityThread(18964): at com.prime31.billing.BillingService.access$0(BillingService.java:546)
    09-19 09:54:28.308: E/ActivityThread(18964): at com.prime31.billing.BillingService$BillingRequest.runRequest(BillingService.java:114)
    09-19 09:54:28.308: E/ActivityThread(18964): at com.prime31.billing.BillingService.getPurchaseInformation(BillingService.java:650)
    09-19 09:54:28.308: E/ActivityThread(18964): at com.prime31.billing.BillingService.handleCommand(BillingService.java:511)
    09-19 09:54:28.308: E/ActivityThread(18964): at com.prime31.billing.BillingService.onStart(BillingService.java:469)
    09-19 09:54:28.308: E/ActivityThread(18964): at android.app.Service.onStartCommand(Service.java:450)
    09-19 09:54:28.308: E/ActivityThread(18964): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2490)
    09-19 09:54:28.308: E/ActivityThread(18964): at android.app.ActivityThread.access$1900(ActivityThread.java:130)
    09-19 09:54:28.308: E/ActivityThread(18964): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1292)
    09-19 09:54:28.308: E/ActivityThread(18964): at android.os.Handler.dispatchMessage(Handler.java:99)
    09-19 09:54:28.308: E/ActivityThread(18964): at android.os.Looper.loop(Looper.java:137)
    09-19 09:54:28.308: E/ActivityThread(18964): at android.app.ActivityThread.main(ActivityThread.java:4745)
    09-19 09:54:28.308: E/ActivityThread(18964): at java.lang.reflect.Method.invokeNative(Native Method)
    09-19 09:54:28.308: E/ActivityThread(18964): at java.lang.reflect.Method.invoke(Method.java:511)
    09-19 09:54:28.308: E/ActivityThread(18964): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
    09-19 09:54:28.308: E/ActivityThread(18964): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    09-19 09:54:28.308: E/ActivityThread(18964): at dalvik.system.NativeStart.main(Native Method)
     
  8. tonemcbride

    tonemcbride

    Joined:
    Sep 7, 2010
    Posts:
    1,077
    Hi,

    I've been having problems with getting youtube videos working in a webview - whenever the web view appears the video doesnt playback. I noticed a post a while back about this but it didn't seem to get resolved, have you got any ideas what might be causing it? I just open a URL that points to a standard html page with an embedded youtube video.

    Thanks,
    Tony
     
  9. Masashi-Wada

    Masashi-Wada

    Joined:
    Jul 6, 2010
    Posts:
    80
    hi prime31

    // Fired when a login is successful. Provides the users screen name
    TwitterAndroidManager.loginDidSucceed( string username )

    I saw 'username' be a 'name' parameter. ( not screen name )
    For the custom request, I desire acquisition of id or screen_name.
    I saw method whose acquisition of screen_name was completed in the old version.
    Do I need execution of account/verify_credentials because of id or screen_name?

    ver: SocialNetworkingAndroid_2012-09-10.unitypackage
     
    Last edited: Sep 23, 2012
  10. oriolmanya

    oriolmanya

    Joined:
    Jul 4, 2012
    Posts:
    50
    Hi Prime,

    First of all I hope you rested enough that days and come back full of energy.

    I purchased the MoPub plugin. I got it work with it's own Mopub ad network, but it shuts down the App when It request ads from AdMob and from Millenial Media.

    I'm talking with MoPub staff to solve the matter, but I think that they don't have enough (or any) experience with Unity+Android+Prime31 Plugins.

    They said me:

    And I don't quite sure that this is possible to do with Unity. Do you know where to find the Proguard file?

    Also I have the feeling that the problem is with the SDK.

    Are you aware that recently (September 2, i guess) it's necessary to include the SDK's to use other Networks ads throught Mopub?

    Maybe the plugin i'snt still full adapted?

    To include Admob I did the next steps:

    1. Open an account with Admob
    2. Added an APP
    3. Setup an Ad Banner Size, and I have a Publisher ID and a Mediation ID
    4. I configured the MoPub BackOffice to get the banner. With the Admob Publisher ID in the Ad Network ID and the Mediation ID in the Banner Ad ID.
    5. I put the last AdMob SDK in the Android folder renamed from "GoogleAdMobAdsSdk-6.1.0.jar" to "GoogleAdMobAdsSdk.jar" (Is this correct? It shuts down the app in both ways)

    Do I do something not correct?

    Thank you very much.
     
  11. claytoncurmi

    claytoncurmi

    Joined:
    Jul 6, 2010
    Posts:
    168
    @prime31

    Finally we are in the last stages of the development cycle and ready to release an Android version. We are using the Android Builder Tool which splits the apk into an installer and the obb expansion file. However there is a problem with the Prime31 in-app billing plugin. As soon as the app starts, there will be some exceptions thrown regarding the Prime31 plugin like below and the game will just crash.

    09-10 16:27:24.840: E/ActivityThread(10743): Service com.prime31.billing.BillingService has leaked ServiceConnection com.prime31.billing.BillingService@41981080 that was originally bound here

    We’re not using a debug keystore, and it does work when Unity builds one large apk file. The problem is that it seems the Prime31 plugin breaks when the game is split and probably has something to do with the <service> tag that is added to the manifest.

    <service android:name="com.prime31.billing.BillingService" />
    <receiver android:name="com.prime31.billing.BillingReceiver">
    <intent-filter>
    <action android:name="com.android.vending.billing.IN_APP_NOTIFY" />
    <action android:name="com.android.vending.billing.RESPONSE_CODE" />
    <action android:name="com.android.vending.billing.PURCHASE_STATE_CHANGED" />
    </intent-filter>
    </receiver>

    The plugin’s BillingService must have some start-up code that executes when Android registers the service on application start and that seems to be triggering the exception. Currently, this is blocking the Android in-app billing feature from working.

    Do you have an idea why this is happening? Is it possible to split the Android APK and still use the Android plugin?

    Regards,
    Clayton
     
  12. Majkell

    Majkell

    Joined:
    Jul 17, 2012
    Posts:
    3
    Hi. I don't know if this is the right place to ask for help with prime31 plugins but...

    I'm using social plugin for android, and added some of my own plugins for google maps. All is working great together, but...
    All my icons from res/drawable folder was messed up, so I imported facebook icon from prime31 plugin to eclipse project and build my plugin again, and now all my icons work great but facebook icon is replaced by map marker for google maps. I guess it has something to do with autogenerated R file...

    Any advice on how to get around that?
     
  13. intacto

    intacto

    Joined:
    Sep 26, 2012
    Posts:
    7
    Hello, Is it possible to turn on facebook sso on android social networking plugin?
    Currently the user has to enter his email and password even if he has facebook application installed.
     
  14. Lesha-VH

    Lesha-VH

    Joined:
    Jul 3, 2012
    Posts:
    92
    Prime, could you answer please a question?

    How should I know what in-apps are restored after IABAndroid.restoreTransactions()?
    Plug-in should call PurchaseSucceeded(string productIdentifier)?

    How to catch situation when application is re-installed and after purchase product just message box that product already purchased appear?

    thanks!
     
    Last edited: Sep 27, 2012
  15. ridil

    ridil

    Joined:
    Apr 24, 2012
    Posts:
    31
    Hello,

    What is the Class Name I need to fill in on Facebook when setting up the Social Networking plugin? The API Docs don't mention it but Facebook says it's required to have. I have the package name and have generated the key hash but I'm not sure what to put for the Class Name. Is it something like UnityPlayer or UnityPlayerProxy? The image below shows the specific line I'm referring to on the facebook developer page.



    Thank you,
    Ridil
     
  16. smyte100

    smyte100

    Joined:
    Mar 10, 2012
    Posts:
    55
    Please, one question . I'm currently trying to use your Mobclix Android plugin. I've done everything the documentation says and i still see no ads. I want
    to check out what logcat says but i don't see anything like that in my platform_tools folder of my android sdk. Please, what can I do about this.
     
  17. oriolmanya

    oriolmanya

    Joined:
    Jul 4, 2012
    Posts:
    50
    Now i tested the Admob sample app compiling it with Eclipse, and it works correctly.

    But there is no way with the MoPub mediation with Unity3D and your plugin.

    At Assets/Plugins/Android/ I copied the GoogleAdMobAdsSdk-6.1.0.jar (I tested also renaming to GoogleAdMobAdsSdk.jar)

    I also put the Admob Publishing ID in both fields where it asks me to do, in "App Name" and in "Banner Name" in the Networks/AdMob options.

    It continues shutting down the aplication with the error on that screenshot:

    $error_admob.png

    News: Just now I succeed viewing AdMob ads throught MoPub SDK, but in Eclipse using Mopub example aplication. In Unity3D I'm still getting the error, so the problem is in something I'm doing bad in Unity or in the Plugin itself.
     
    Last edited: Sep 28, 2012
  18. as-justis

    as-justis

    Joined:
    Aug 29, 2012
    Posts:
    10
    Hello, Prime31,

    I couldn't find information about this, so sorry if that would be a duplicate.
    Urban Airship is planning to release support for Google Cloud Messaging in upcoming weeks. I was wondering, are you planning to add support for it in your plugins (etcetera, in specific) too after Urban Airship update? I am concerned about this, since I am only able to use helium feature for free until 90 days after they release support for GCM.

    Thanks ;)
     
  19. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @as.justis, if there is enough demand we will of course add it but we don't make predictions about features that arent even released.
     
  20. goldbug

    goldbug

    Joined:
    Oct 12, 2011
    Posts:
    765
    YES, YOU ARE BACK!!!!!


    Please help, get in touch with Movend folks, we desperately need your help with Block Story and IAP on amazon.
     
  21. PixelEnvision

    PixelEnvision

    Joined:
    Feb 7, 2012
    Posts:
    513
  22. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @pixel, no plans at this time. If demand ever increases we will certainly build it.
     
  23. PixelEnvision

    PixelEnvision

    Joined:
    Feb 7, 2012
    Posts:
    513
    Thx, count me in...
     
  24. Lesha-VH

    Lesha-VH

    Joined:
    Jul 3, 2012
    Posts:
    92
    Prime, how should I know that in-apps are restored after IABAndroid.restoreTransactions() - callback PurchaseSucceeded(string productIdentifier) will be called? (right now nothing happens - just success event)
     
  25. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @lesha, the purchaseSucceededEvent is called for each product that Play restores.
     
  26. Nunterfal

    Nunterfal

    Joined:
    Nov 3, 2011
    Posts:
    9
    Can you help me?)
     
  27. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @nunterfal, redownload the plugin, delete the old files and reimport. It looks like the jar file might have gotten corrupt during download.
     
  28. lfdl2401Studios

    lfdl2401Studios

    Joined:
    Mar 4, 2012
    Posts:
    12
    Hi prime31:

    I'm having some a problem with the Twitter side of the social networking plugin. I'm unable to connect to twitter. This is what I get in the Logcat:

    I'm able to perfectly post on to Facebook using the same apk, so I its not a player settings problem. Also I have set the correct consumerKey and consumerSecret as said in the documentation. What else could it be that could causing the connection problem?
     
  29. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @ifdl2401, "Problems while creating connection" is almost always a case of not adding the internet permission to your Unity Player Settings.
     
  30. lfdl2401Studios

    lfdl2401Studios

    Joined:
    Mar 4, 2012
    Posts:
    12
    @prime31 The problem is that I did add the internet permission on the player settings and I'm able to publish to Facebook on the same apk. That's why I'm lost on what could be the problem.
     
  31. s1m0n1stv4n

    s1m0n1stv4n

    Joined:
    Sep 14, 2012
    Posts:
    16
    Hi Prime,

    The Chartboost plugin works fine, however in my case, the interstitial comes in with a black background instead of a semi-transparent. I talked to the Chartboost guys, they said it was an issue in their previous sdk, but they fixed it since. I purchased the plugin a month ago, so it's up to date.

    The easiest way to reproducea problem is to set up a test Chartboost app in their portal, then simply publish the test scene in the plugin with the right chartboost app ids. Then I run the Android manifest generator form the Prime31 menu, build and run. When the test interstitial comes in it has a black background which comletely hides the scene behind.

    I tried different phones, with different scenes and test apps, the result is always the same. It is also strange that no one has this issue, just me. I'm using Unity on a mac, not the pro version.

    Do you have any guess what can possibly cause this strange problem?

    Thank you in advance!
     
  32. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @s1m0n, we have nothing at all to do with the actual Chartboost view. That is handled 100% by them.
     
  33. oriolmanya

    oriolmanya

    Joined:
    Jul 4, 2012
    Posts:
    50
    Problems with Mopub Admob, and now mMedia

    I downloaded latest version of Mopub Plugin (removed everything related to mopub, remade the manifest), which also Shuts Down the aplication when it tries to load a Banner with the SetLocation problem.

    -Now I paused the Admob Network and activated the mMedia.
    -Everything works with their App Sample Example (Eclipse, not Unity), showing mMedia banners.
    -But in Unity with your Plugin it ALSO SHUTS DOWN the APP showing an error about mMediaAdapter. Anything related to the SetLocation MAtter!!! (Later I will send the Log if you need it)
    -And Now I tested with two different devices, a Ainol tablet and my HTC Nexus, and both gets the same error.

    I have a lot of your others Plugins and I'm happy with them, but I'm near fed up of MoPub Plugin and I'm feeling that I've wasted the money with it.
    I'm starting to watch new posibilities, because the ads that provide Mopub I thing are not enough:

    -Does The Mediation works with the Admob Plugin?
    -Is the MobClix Plugin (with Admob Millenial Support) more robust that that Mopub Plugin?
     
  34. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @oriol, we have absolutely nothing to do with the mediation of MoPubs SDK. Mediation is 100% handled by their SDK. Any issues with it you will want to send over to them.
     
  35. Akke

    Akke

    Joined:
    Oct 3, 2012
    Posts:
    3
    @prime31 Hey and thanks for a great plugin!

    I've successfully posted messages on my wall through unity and my application on facebook but I want to use my own "Open graph action type" I'm creating on the facebook application page (for example it sais "Akke spotted marker9" instead of "Akke liked marker9"). Do you know how to do this? Which function should I use and what arguments should I pass?

    Thanks in advance!
    Akke
     
  36. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @akke, you will have to checkout Facebooks docs for the semantics of the calls and what they allow. All Open Graph calls will end up using the graphRequest method to send them though.
     
  37. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @goldberg, just for the record the plugin works fine for all payment types (a dozen or so) except Amazon. The problem is not on our end. MoVends SDK does not function properly with Amazon payments. We do not have their source code and it is not something we can fix ourselves. In addition we removed the plugin from our website yesterday until MoVend fixes the bugs in their SDK.

    Before you make a slanderous post you really need to make sure you have your information correct.
     
  38. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @goldbug, MoVend has all of the code from our plugin that they need. There is no black box. That information is all incorrect. They asked us to debug their SDK via a back-and-forth that is quite time consuming due to them not having access to Amazon payments in their location. This is a favor that we will do for them only when it does not interfere with our other projects. Your post claims that it is something that we need to fix when in reality it is the MoVend SDK that needs to be fixed.
     
  39. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @goldbug, facts are facts. MoVend has all the code from us that they need to debug and fix their SDK and we removed the plugin for sale. It's out of our hands at this time and it still remains that you should fact check before posting negative comments about situations that you only have cursory knowledge of. Your comments do not help MoVend, do not help us and do not help you in any way.
     
  40. goldbug

    goldbug

    Joined:
    Oct 12, 2011
    Posts:
    765
    Then please, tell me what would help?
     
  41. oriolmanya

    oriolmanya

    Joined:
    Jul 4, 2012
    Posts:
    50
    Hi Prime,

    You say that the MoPub Mediation are the responsible, then:
    -Why it's apps works with all networks and your plugin only works with Mopub ads?

    I guess that after the change of September 2 that it's required to include the external Networks libraries to make everything work, the insides of the SDK's has changed a lot.

    -I have a question to the community: Anyone has achieved to get work the Mopub plugin with Admob or Millenium libraries? (After September 2)

    Meanwhile I'm gonna buy the AdMob Plugin.
    -Can you confirm that everything is right with that one, please?

    Thanks anyway,


    Oriol


    PD: Maybe you are interestered on it, I give you the error when it tries to show a Millennial banner, which is different than the Admob problem with the SetLocation.

    10-03 19:22:57.277: I/MoPub(25011): Loading native adapter for type: millennial_native
    10-03 19:22:57.277: D/AndroidRuntime(25011): Shutting down VM
    10-03 19:22:57.277: W/dalvikvm(25011): threadid=1: thread exiting with uncaught exception (group=0x40bd51f8)
    10-03 19:22:57.277: E/AndroidRuntime(25011): FATAL EXCEPTION: main
    10-03 19:22:57.277: E/AndroidRuntime(25011): java.lang.NoSuchMethodError: com.millennialmedia.android.MMAdView.<init>
    10-03 19:22:57.277: E/AndroidRuntime(25011): at com.mopub.mobileads.MillennialAdapter.loadAd(MillennialAdapter.java:116)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at com.mopub.mobileads.MoPubView.loadNativeSDK(MoPubView.java:254)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at com.mopub.mobileads.AdFetcher$LoadNativeAdTaskResult.execute(AdFetcher.java:489)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at com.mopub.mobileads.AdFetcher$AdFetchTask.onPostExecute(AdFetcher.java:311)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at com.mopub.mobileads.AdFetcher$AdFetchTask.onPostExecute(AdFetcher.java:1)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at android.os.AsyncTask.finish(AsyncTask.java:602)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at android.os.AsyncTask.access$600(AsyncTask.java:156)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:615)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at android.os.Handler.dispatchMessage(Handler.java:99)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at android.os.Looper.loop(Looper.java:137)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at android.app.ActivityThread.main(ActivityThread.java:4514)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at java.lang.reflect.Method.invokeNative(Native Method)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at java.lang.reflect.Method.invoke(Method.java:511)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
    10-03 19:22:57.277: E/AndroidRuntime(25011): at dalvik.system.NativeStart.main(Native Method)
    10-03 19:22:57.285: W/ActivityManager(180): Force finishing activity com.Jander.Kander/com.unity3d.player.UnityPlayerNativeActivity
    10-03 19:22:57.348: E/android.os.Debug(180): !@Dumpstate > dumpstate -k -t -n -z -d -o /data/log/dumpstate_app_error
    10-03 19:22:57.371: I/dumpstate(25054): begin
     
  42. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @oriol, did you send the stack trace over to MoPub? That error is quite clearly from their SDK (com.mopub.mobileads.MillennialAdapter).
     
  43. oriolmanya

    oriolmanya

    Joined:
    Jul 4, 2012
    Posts:
    50
    Yes, they already have that trace, but I think they rely on you to solve that matter. I insist, using their Sample App, it works, so I don't think they are gonna take the responsability to solve that.

    I reformulate the question I asked before:

    -Is the AdMob Plugin more robust? Do you have tested it for long time?

    Thank you very much
     
  44. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @oriol, There is nothing in the stack trace that is our code at all and we never modify the underlying SDK. AdMob is a huge company (Google) and it is very well battle tested.
     
  45. Masashi-Wada

    Masashi-Wada

    Joined:
    Jul 6, 2010
    Posts:
    80
    hi prime31

    The action of TwitterAndroidManager.loginDidSucceed differs from the comment.

    // Fired when a login is successful. Provides the users screen name
    TwitterAndroidManager.loginDidSucceed( string username )

    I saw 'username' be a 'name' parameter. ( not screen_name parameter )
    For a custom request, I desire acquisition of id or screen_name.
    I saw method whose acquisition of screen_name was completed in the old version.
    Do I need execution of account/verify_credentials because of id or screen_name?

    ver: SocialNetworkingAndroid_2012-09-10.unitypackage
     
  46. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @masashi, the "account/verify_credentials" path is the proper way to gather the user's information using the Twitter API.
     
  47. lfdl2401Studios

    lfdl2401Studios

    Joined:
    Mar 4, 2012
    Posts:
    12
    @prime31 Other than the internet permission on the player settings, what else could it be causing the connection error? Like I said Facebook is working like a charm on the same project, so I don't think that the internet permission is the problem. Im thinking that it could be something on the twitter setup side. I have the correct autho keys, so I dont know what else could be wrong in the set up. Do you guys know of something in the setup that could cause the connection error?
     
  48. oriolmanya

    oriolmanya

    Joined:
    Jul 4, 2012
    Posts:
    50
    About MoPub Problems:

    Finally, with the last Plugin version, it's all working perfectly -By now- I'm gonna check it out for some days.

    Thanks!
     
  49. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @lfdl2401, besides internet permissions not being in there there was one other really obscure reason that the error came up but it only affected one users device. I can't recall exactly what it was and I can't seem to find the email trail. You may want to double check that your Twitter account is setup properly (with a callback url for example which is commonly mistaken). Just to be sure you may want to try on your other test devices as well.
     
  50. lfdl2401Studios

    lfdl2401Studios

    Joined:
    Mar 4, 2012
    Posts:
    12
    @prime31 Thanks. Im gonna do that right now and tell you if Im able to post to twitter.