Unity Community

Page 34 of 118 FirstFirst ... 2432333435364484 ... LastLast
Results 661 to 680 of 2360

  1. Posts
    @wilfred, lack of demand. You are te only one who has ever asked for them.

  2. Posts
    Something in OpenFeint broke your Android Manifest generation script. Could you possibly post the manual changes I would need to make to the .xml file for Social Networking and Android Billing so I can just modify it myself?

  3. Posts
    @danny, the changes required are already present in the Manifest.xml file included with each plugin.

  4. Posts
    Quote Originally Posted by Prime31 View Post
    @danny, the changes required are already present in the Manifest.xml file included with each plugin.
    is there anything else that I need to add other than the changes that are included in the Manifest file? I added the meta-data and permissions sections of the IAB Manifest file into the default Manifest file found in the Unity folder, but I keep on getting crashes every time I try to make a purchase now.

    1. <?xml version="1.0" encoding="utf-8"?>
    2. <manifest
    3.     xmlns:android="http://schemas.android.com/apk/res/android"
    4.     package="com.unity3d.player"
    5.     android:installLocation="preferExternal"
    6.     android:versionCode="1"
    7.     android:versionName="1.0">
    8.     <supports-screens
    9.         android:smallScreens="true"
    10.         android:normalScreens="true"
    11.         android:largeScreens="true"
    12.         android:xlargeScreens="true"
    13.         android:anyDensity="true"/>
    15.     <application
    16.         android:icon="@drawable/app_icon"
    17.         android:label="@string/app_name"
    18.         android:debuggable="true">
    19.         <activity android:name="com.unity3d.player.UnityPlayerProxyActivity"
    20.                   android:label="@string/app_name"
    21.                   android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
    22.             <intent-filter>
    23.                 <action android:name="android.intent.action.MAIN" />
    24.                 <category android:name="android.intent.category.LAUNCHER" />
    25.             </intent-filter>
    26.         </activity>
    27.         <activity android:name="com.unity3d.player.UnityPlayerActivity"
    28.                   android:label="@string/app_name"
    29.                   android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
    30.         </activity>
    31.         <activity android:name="com.unity3d.player.UnityPlayerNativeActivity"
    32.                   android:label="@string/app_name"
    33.                   android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
    34.             <meta-data android:name="android.app.lib_name" android:value="unity" />
    35.             <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="false" />
    36.         </activity>
    37.         <activity android:name="com.unity3d.player.VideoPlayer"
    38.                   android:label="@string/app_name"
    39.                   android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
    40.         </activity>
    41.     </application>
    43.     <!-- META DATA -->
    44.     <service android:name="com.prime31.billing.BillingService" />
    45.         <receiver android:name="com.prime31.billing.BillingReceiver">
    46.             <intent-filter>
    47.                 <action android:name="com.android.vending.billing.IN_APP_NOTIFY" />
    48.                 <action android:name="com.android.vending.billing.RESPONSE_CODE" />
    49.                 <action android:name="com.android.vending.billing.PURCHASE_STATE_CHANGED" />
    50.             </intent-filter>
    51.         </receiver>
    53.     <!-- PERMISSIONS -->
    54.     <uses-permission android:name="android.permission.INTERNET" />
    55.     <uses-permission android:name="com.android.vending.BILLING" />
    57. </manifest>

    Not sure what's going on, and I can't see how OpenFeint could have broken your Manifest generation script.

  5. Posts
    @danny, the Manifest.xml files contain all the changes required for the plugins.

  6. Posts
    Quote Originally Posted by Prime31 View Post
    @danny, the Manifest.xml files contain all the changes required for the plugins.
    The meta-data portion of the Manifest file needed to be put in the <application> section. I figured I was doing something wrong, which is why I posted the code. Oh well, lesson learned, move on.

  7. Location
    Dallas, Tx

    We're having an issue w/a game AFTER we've published it (we've since taken it down). But we added in a checkForPrevious purchased unlocks on first launch and it worked perfectly fine... didn't unlock the game until the user actually purchased it (via the testing accounts). But now that we've put it on the market, it is unlocking on EVERY launch for EVERY user (only new accounts we've created to test with that are not in the google play test account section). have you ever seen anything like this? we're not doing anything fancy... just do the init, and on the billing supported event we check to see if its first launch and if it is we run restoreTransactions, which seems to always be returning a valid receipt because its definitely unlocking.


  8. Posts
    @bpritchard, i've never seen Google Play provide receipts for items that were not actually purchased. You may want to open a bug report with them because something isnt right in there.

  9. Location
    Dallas, Tx
    I'm assuming that restoreTransactions() returns a list of valid receipts, after when the transactionsRestored event should be running correct? Thats how the sequence is setup.. and d on't do anything in between.. we just start one and wait for that to finish. Our unlock is in the transactionsRestored event, so i would think it would be pretty straight forward.

  10. Posts
    @bpritchard, the transactionsRestoredEvent and the transactionRestoreFailedEvent are only indicators that the request to restore transactions was received by Google Play. They do not return receipts, products or anything of the sort. Play will get around to firing the purchaseSucceededEvent for any purchases that it actually restores.

  11. Location
    Dallas, Tx
    Oh so i'm backwards? so basically the restoreTransactions will automatically return the purchaseSucceededEvent if there are valid receipts?

  12. Posts
    @bpritchard, that is correct. The transactionsRestored/FailedEvents are merely to tell you if the request successfully (or unsuccessfully) reached the Play servers. Play will then at some point in the future actually do the restoring if there are any transactions to restore.

  13. Posts
    Prime 31

    does your Social networking plugin really support single sign on support?

    I've just failed to get it working on your Facebook test scene.

    I run the scene on android device.
    Push Init and Login buttons.
    Get the dialog to install Facebook For Android.
    Installed Facebook for Android and login FB

    Then I started your test app again
    Push Init and Show Post Dialog buttons
    It seem I should get Post Dialog here
    But I got the dialog to install Facebook For Android again

    What I did wrong?
    Need advise to force single sign on support working


  14. Posts
    Quote Originally Posted by Prime31 View Post
    @guillaume, we are planning on adding the information as to which plugins have external assets to the docs. There are only a couple that are affected.
    Could you tell exactly which plugins are affected? We're now considering adding the AdMob plugin on top of Etcetera, Social Networking and In App Billing but this is not a definitive list.
    Thank you!
    Last edited by devGuillaume; 05-14-2012 at 07:43 AM.

  15. Posts
    @iron, we removed SSO from the Android version a while back. Facebook has a huge pile of bugs with it and affecting different devices that they still haven't fixed. In addition it required overriding the main Unity Activity which has a host of difficulties as well.

    @dev, you are fine with the plugins listed. They will all work without issue.

  16. Posts

    override the main Unity Activity is not a problem
    it is extended with a lot of things in my case already
    if it solves the problem, would you like to drop some info on it ?

  17. Posts
    @iron, you would need to create your own authentication system. Our plugin only supports the in app login process.

  18. Location
    Belgrade, Serbia

    Sorry if this has already been asked, the topic is not easy to search.
    What are the required manifest permissions for social plugin?

  19. Posts
    @nikolic, if there were any manifest changes required they would be contained in the Manifest.xml file. The SocialNetworking Plugin does not required any though besides the obvious internet permission.

  20. Posts
    @Prime31, In the askForReview() and askForReviewNow() methods, is the appPackageName parameter the bundle identifier shared between multiple platforms and located in Unity's Player Settings?
    If it is, could you add a method to retrieve this identifier at runtime? It is suggested here how it can be done for iOS (could be useful as well) but I don't know about Android. Or you could just remove the appPackageName parameter altogether?
    Last edited by devGuillaume; 05-15-2012 at 06:56 AM.

Page 34 of 118 FirstFirst ... 2432333435364484 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts