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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Prime31 Unity Plugins Officially Live! [CLOSED]

Discussion in 'iOS and tvOS' started by prime31, Aug 27, 2010.

Thread Status:
Not open for further replies.
  1. Shadowagv

    Shadowagv

    Joined:
    Oct 6, 2011
    Posts:
    32
    Thank you) and how to retrieve access token? (is fired action when access token ends?)
     
  2. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @shadow, check the documentation (http://prime31.com/unity/docs/#socialDoc). We don't hide information about what the plugin supports. It is in there clear as could be, the third method in the docs:
     
  3. yuriythebest

    yuriythebest

    Joined:
    Nov 21, 2009
    Posts:
    1,118
    Hi Prime! We have tried to use the turn based gamecenter plugin (we first imported the regular gamecenter, then the turn based one), however we are getting these errors for

    Unity3d 3.5.2f2
    GameCenterTurnBased_2012-09-09
    GameCenter_2012-03-20

    this has been asked previously on
    http://forum.unity3d.com/threads/58692-Prime31-Unity-Plugins-Officially-Live!/page83
    by another user

    we have set the target ios version to 5.1 and also the architecture to armv7, however still nothing, please help!
     
  4. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @yuri, did you do a Product->Clean in Xcode to clean out the old obj files?
     
  5. TimmyD

    TimmyD

    Joined:
    Sep 13, 2012
    Posts:
    4
    In ETC is it possible to insert a line break or carriage return in the string for the function: showBezelActivityViewWithLabel?
     
  6. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @timmy, you can try the standard "\n" but I can't guarantee that will work
     
  7. TimmyD

    TimmyD

    Joined:
    Sep 13, 2012
    Posts:
    4
    \n and \r didn't work.
     
  8. Shadowagv

    Shadowagv

    Joined:
    Oct 6, 2011
    Posts:
    32
    Hello
    How to pick the friends and get their ids?
    I need to show facebook dialog where i pick the friends then push the button and get the ids of picked friends.
    Is it possible make with out fix plugin libs in xcode?
     
  9. DavidRDev

    DavidRDev

    Joined:
    Jul 19, 2012
    Posts:
    47
  10. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @shadow, please dont post the same exact question in multiple forums topics.


    @denko, the plugin uses the latest version in the 3.x branch of Flurry's SDK. The 4.x version will be out shortly. We are just waiting for Flurry to fix one bug and give us the thumbs up to release.
     
  11. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @belal, you are doing things backwards and not even paying attention to the product data. You cannot purchase any product until you first request the product data and second receive it via the productListReceivedEvent. Your code is first purchasing a product then requesting the data which doesn't make any sense and is backwards.
     
  12. kromenak

    kromenak

    Joined:
    Feb 9, 2011
    Posts:
    266
    I'm trying to update to the latest Game Center plugin, but I'm receiving a linker error when I try to run the app.

    It is complaining about numerous duplicate symbols in Assets/Editor/GameCenter/libGameCenterPlugin.a(JSONKit.o). I feel like I might be missing something simple to fix this, but I'm not sure what the problem is. As mentioned in your release notes, I deleted all the old Game Center files before importing this new plugin.
     
  13. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @krom, if you have another plugin using JSONKit just delete the JSONKit.m file as it is contained in the library for GameCenter.
     
  14. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @belal, not at all. Where are you listening to the productListReceivedEvent? I am getting the feeling you don't know how events work and that is paramount to using an asynchronous API like StoreKit. I would recommend watching our video tutorials in the docs, reviewing the demo scene code an going over some of Microsofts docs on events so that you h e a firm understanding of how they work.
     
  15. giza

    giza

    Joined:
    May 4, 2008
    Posts:
    69
    @prime31, I've updated my Mopub Plugin to the newest 13th of August version. I see MoPubBinding.cs supports bottom or top anchoring but the previous createBanner method also supported specific on-screen positioning using the xPos and yPos offset variables. This exact positioning is important for my app's layout. Has this feature been deprecated in the newest version?
     
  16. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @giza, absolute positioning is deprecated. It caused too much confusion for retina vs non-retina apps and then to totally throw a wrench in things some of the ad vendors will send slightly different sized ads then requested. If you ask for a 320x50 you may get some 300x50 ads or some 320x40, etc. It was getting to be too much of a nightmare so we are moving all ad banners to anchored positioning.
     
  17. sonofbryce

    sonofbryce

    Joined:
    May 19, 2009
    Posts:
    111
    @prime31, I was interested in the "Mobclix with Admob and Millenial Support" and the In-app purchase plugins for Android and wanted to know if you knew if there might be any conflicts with the GREE integration. GREE has it's own AndroidManifest.xml and whatnot, and I'm not sure if that would interfere with the plugins.

    I'm also wondering if it conflicts with iOS as well.

    If you know, that'll make it a no-brainer to purchase the plug-ins, thanks!
     
  18. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @sonofbryce, you would need to manually merge our manifest with Grees. Specific positioning is deprecated in favor of anchored positioning for all of our ad banner plugins.
     
    Last edited: Sep 15, 2012
  19. sonofbryce

    sonofbryce

    Joined:
    May 19, 2009
    Posts:
    111
    All right, cool. I'll check it out then! Thanks!
     
  20. LeakySink

    LeakySink

    Joined:
    Apr 9, 2012
    Posts:
    141
    Hey prime31,

    I bought your Storekit plugin but now I've updated to the latest version I'm getting the following error in Xcode:

    Apple-mac-oh linker error.

    file is universal but does not contain a(n) armv6 slice for architecture armv6
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Help?
     
  21. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @leaky, the big note on the documentation page has a clue for you:
     
  22. sonofbryce

    sonofbryce

    Joined:
    May 19, 2009
    Posts:
    111
    @prime31, is there no way to integrate Millennial with your plugin now? I'm not finding anything on the Mobclix site referencing Millennial or the Millennial App ID. Thanks!
     
  23. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @sonofbryce, you will need to contact Mobclix for the details required on their web portal. On the code side Millennial is included with the plugin and all wired up.
     
  24. sonofbryce

    sonofbryce

    Joined:
    May 19, 2009
    Posts:
    111
    @prime31, my bad. I just realized that the settings for Millennial show up when you create a new ad unit for your App. Thanks a ton!
     
  25. giza

    giza

    Joined:
    May 4, 2008
    Posts:
    69
    @prime31, OK thanks for the feedback!
     
  26. 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.
     
  27. bnooyen

    bnooyen

    Joined:
    Sep 17, 2012
    Posts:
    29
    @prime31 (or anyone else)

    Are there any limitations to the Etcetera function of Opening a web page? Occasionally when I tap on the "DONE" button, the App freezes.

    Are there any recommendations that go along with this? Or is there something I can add to help alleviate? I'm already dumping all unused resources prior.

    Thanks!
     
  28. Shadowagv

    Shadowagv

    Joined:
    Oct 6, 2011
    Posts:
    32
    In facebook plugin does metod showDialog() return result?

    i want to send request, select friends and then push send button.
    But then i need to get what friend i send request to. (after i push send button)
     
  29. Davide

    Davide

    Joined:
    Sep 19, 2012
    Posts:
    13
    Hi! I'm part of a developing team and we've bought your MediaPlayer plugin to use it in our apps (games). These games are for Ipads, Iphones and Ipods.
    The game has it's own audio (both music and fx), but we want to give the chance to the players to listen to their own iTunes music. The problem is that once the mediaplayer has popped up, i've selected the songs and go back to the game, it completely stops the game sound effects!

    While, if i repeat these steps a second time, it works how it should (music + app sounds mixed).

    Its strange because it worked good in the past months when i've tested it more than once and on many devices. It just played the music but didn't stop the sound effects. I've checked for updates, and downloaded the last package of July 2012, nothing. We' re using Unity version 3.5.5f3 .

    Last but not least, all i'm doing is calling the mediaplayer through the MediaPlayerBinding.showMediaPicker() function. Am i missing something? Any ideas?
    Thanks in advance.
     
    Last edited: Sep 19, 2012
  30. froodydude

    froodydude

    Joined:
    Sep 22, 2011
    Posts:
    27
    Hi prime31,

    We think restoring purchases is broken in the recent (i.e. iOS 6) versions of the plugin. The receipts archive simply doesn't contain all the products purchased. If we roll back the plugin to a pre iOS 6 version (of the plugin) it all works as expected. Since these builds are now supplied as libraries I can't look at the code to try and figure out what's going wrong, so we've just rolled back for now.

    I realise you're not around to fix it for a while but thought I'd post just in case others are finding similar issues.
     
  31. myu

    myu

    Joined:
    Sep 19, 2012
    Posts:
    1
    @froodydude, A similar phenomenon has occurred, even me.

    I use the StoreKit_2012-08-17, the following problems have occurred.
    The iOS version is 5.1.

    I was operated as follows.

    STEP1:Create two non-consumable products for purchase in iTunes Connect.
    STEP2:bought two products using purchaseProduct.
    STEP3:run the restoreCompletedTransactions.
    STEP4:I have some trouble occurs after execution of the restoreCompletedTransactions.

    1:Fails with purchase

    purchaseProduct except the product ID of the part to fail. Succeeded in buying products that only purchaseSuccessful has occurred.

    2:restoreCompletedTransactions do not work well

    When run the restoreCompletedTransactions again, productPurchaseAwaitingConfirmationEvent does not occur except the product ID of the part.
    In product purchaseSuccessful has occurred during the execution of only restoreCompletedTransactions, has occurred productPurchaseAwaitingConfirmationEvent.



    It is my guess, I think after run the restoreCompletedTransactions, as part of the transaction is being processed as an unfinished product ID.
     
  32. Grammbo

    Grammbo

    Joined:
    Jul 11, 2012
    Posts:
    2
    I've just upgraded to the newer version of the OSX StoreKit plugin. The documentation doesn't seem to indicate there should be any problem with returning receipts but I'm still getting this message in console:

    OnMasPurchaseSuccessful: ProductIdentifier=OurProduct Receipt=not available on OS X Quantity=1

    I haven't been able to find any mention of this anywhere else so I'm going to have to re-implement our own process for fetching receipts, but it's a bit hacky and I'd love to have a clean solution. All other steps of the purchase work fine. Does OSX StoreKit plugin support returning receipts? Or have I screwed up my implementation?
     
  33. John-B

    John-B

    Joined:
    Nov 14, 2009
    Posts:
    1,253
    Wrong thread. Never mind.
     
    Last edited: Sep 22, 2012
  34. GamePro

    GamePro

    Joined:
    Jul 16, 2012
    Posts:
    35
    Hi Prime31,

    I am having problem on the Chartboost plugin. ads are not displaying, Please solve my problem,


    Thanks
     
  35. GamePro

    GamePro

    Joined:
    Jul 16, 2012
    Posts:
    35
    Hi Prime 31
    I waiting for you reply. when ever i am using the prime31 plugin its never worked for me. I need a help. how to make it fix. i am trying from the last 3 days. i tried the xcode native integration it worked fine . but unity 3d plugin is not working . i double checked every thing. please help me.
     
  36. froodydude

    froodydude

    Joined:
    Sep 22, 2011
    Posts:
    27
    Hi prime31,

    We've found an issue with score challenges in the Game Center plugin. The value field is always being set to 0. Again because it is now a lib we can't just fix the code but we have managed to find a work around so we can fix the problem (by getting callbacks to call our handlers). The underlying cause is the self.playerID can be nil. Our code simply ensures nil value strings are replaced with "" which fixes the issue.

    If you require any further information please let me know.
     
  37. J_P_

    J_P_

    Joined:
    Jan 9, 2010
    Posts:
    1,027
    Are there any issues with the Flurry plugin on iOS 6? Looking to purchase soon but wanted to make sure there weren't any problems.
     
  38. robotmechanic

    robotmechanic

    Joined:
    Dec 29, 2009
    Posts:
    106
    prime31 (or anyone else),

    I am having an issue with the prime31 Unity iOS storekit plugin.

    I am using the latest storekit build, updated menu items, and it installs correctly according to the popup message after building using "build", but I keep getting the following error when I "build and run." Just this one error is keeping me from testing In App purchases on the device.


    "ld: file is universal (2 slices) but does not contain a(n) armv6 slice: /Users/drive/unity/project/Assets/Editor/StoreKit/libStoreKit.a for architecture armv6
    clang: error: linker command failed with exit code 1 (use -v to see invocation)"


    I am using Xcode 4.4, OSX 10.8.1, Unity 3.5.5. The deployment target is 4.2, universal binary. I suspect it could be my iOS version but iTunes won't let me update to iOS version 4.3 or 5.1 even though I have the .iptw files. Updating to iOS 6.0 appears to be my only option but doing so will force me to have to upgrade to xCode 4.5 which is not recommended by the people at Unity yet.

    I have tried everything the prime31 docs have suggested but I am still stuck.:(

    If you have any ideas or solutions, please let me know.;)
     
  39. cs_ksk

    cs_ksk

    Joined:
    Sep 26, 2012
    Posts:
    1
    Hi, may I confirm if the prime31 flurry plugin or iOS6 is already out?
    I tried to download the one I purchased before but it seems to still be an old version.

    Anyone know if there is release note in prime31 so that we can know if they have updated for iOS6 for a given plugin?
    Thank you
     
  40. Schnelle

    Schnelle

    Joined:
    Jan 17, 2011
    Posts:
    89
    Robot, the newest StoreKit plugin does not support ARMv6 as Apple has dropped support for it with iOS 6. You need to do a build in Unity for ARMV7 only.
     
  41. Schnelle

    Schnelle

    Joined:
    Jan 17, 2011
    Posts:
    89
    Prime31, StoreKit restore purchases is not working properly for me either. I have two non-consumable items that are purchased for this test user. When I restore only one of the two will restore. However, if I exit the app and restart then the one that didn't fire a 'purchaseSuccessful' does so at this time.

    The 'productPurchaseAwaitingConfirmationEvent' fires for every one of the items being restored, however. I tried hooking up to this event and manually calling 'StoreKitBinding.finishPendingTransaction();' but it says that there are no transactions pending in the debug log. I can't simply call my 'purchaseSuccessful' method from the 'productPurchaseAwaitingConfirmationEvent' handler either because when the application restarts and the purchase finally goes through, it gives the user another popup.

    The entire thing looks messy to the end user so I'm blocked until you can push a fix out for this. Implementing IAP was the very last thing I had on my list and so I'm waiting to submit to the app store until you can provide a fix. Thanks for he help.
     
  42. DFT-Games

    DFT-Games

    Joined:
    Jun 24, 2010
    Posts:
    449
    Alas none of the iOS plugins are working any longer after the iOS 6 launch... I guess P31 vacation timing wasn't a good choice, I really wouldn't be in their shoes right now... StoreKit and Facebook not working any longer at all are honding back a lot of planned publishing :/
     
  43. robotmechanic

    robotmechanic

    Joined:
    Dec 29, 2009
    Posts:
    106
    @gameyeti

    Thanks, that tip helped! Arm7 all the way!
     
  44. priznut

    priznut

    Joined:
    Apr 19, 2012
    Posts:
    20
    Purchased the Mac Store kit plug in but was unable to download the link. It gave us nothing after the purchase aside from the order number and no email. The MacStore kit is not available in the Asset Store either so not sure what to do form here.
     
  45. priznut

    priznut

    Joined:
    Apr 19, 2012
    Posts:
    20
    Nevermind the above post, our server host blocked the paypal email response. Thanks for the plugin!
     
  46. kromenak

    kromenak

    Joined:
    Feb 9, 2011
    Posts:
    266
    I've noticed the following crash error lighting up our Flurry analytics page recently:

    NSInternalInconsistencyException: Attempting to begin a modal transition from <GKModalRootViewController: 0xd57f1a0> to <UINavigationController: 0xd577c20> while a transition is already in progress. Wait for viewDidAppear/viewDidDisappear to know the curr
    Msg: Crashed

    Has anyone else seen anything like this? Is this related to the plugin/Game Center code, or could this be a result of the way I'm calling stuff in my game code?
     
  47. ShiroiNeko

    ShiroiNeko

    Joined:
    Jul 3, 2012
    Posts:
    30
    @Prime31
    I purchased your iAd Plugin, then I drag the AdAdapterPrefab and AdManager into my game scene, so far everything is cool, I got the iAd Test Ad.
    But what then ? All I need is to upload my app to the AppStore ? And the Test Ad will replaced by the real Ad automaticlly ?
    What should I do if I want to Test if the real Ad will display ? I changed the Bulid Configuration to Release mode( edit Scheme ), then try to build my app with a Distribution profile, but I got the "A valid provisioning profile for this executable was not found." error, then I change the profile to the develop one, build to device succeed, but still got the Test Ad only, what should I do to make sure that the plugin will display the real Ad after app uploaded ?
     
  48. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @shiroi, I would recommend that you read Apple's guide for how to setup iAd. It requires some configuration in Xcode and iTunes Connect for your release build.
     
  49. priznut

    priznut

    Joined:
    Apr 19, 2012
    Posts:
    20
    Hello again,

    Sorry to bother again. I am posting this on the iOS even though it's a Mac dev issue.

    So I purchased the MacStore plug in, everything installed correctly (I hope). We have valid Mac provisioning profiles. We try to use your Mac Store Helper tool, It opens the built application. But begins to spit out many errors after and appears to hang. A few times it would read the application, but the drop down box for the provisioning profiles would not show use or drop any of our profiles.

    The error I get is this one:

    Win32Exception: ApplicationName='/Users/Popo/****Assets/Editor/Prime31/P31MacAppStoreTool', CommandLine='"/Users/Popo/Library/MobileDevice/Provisioning Profiles/******.provisionprofile"', CurrentDirectory=''


    Excuse the '*', just omitting any sensitive info in case. :) And again we do have valid provision profiles in the folder, wondering if we missed a step or file.

    Any help is appreciated.
     
  50. prime31

    prime31

    Joined:
    Oct 9, 2008
    Posts:
    6,426
    @priznut, the helper makes a best effort try to get your profiles. There are many reasons that would keep it from running and if it can't fetch the data you will need to do the signing the old fashioned way.
     
Thread Status:
Not open for further replies.