Coder Social home page Coder Social logo

ane-samsung-in-app-purchase's Introduction

ANE-Samsung-In-App-Purchase

==================================

General info :

  • Samsung In-App Purchase SDK Version : 4.0.1Sep 23, 2016.
  • Add this to your android manifest :
<android>
	<manifestAdditions><![CDATA[
		<manifest android:installLocation="auto">

			<!-- ************************************************** -->
			<!-- START samsung iap app purchase permissions -->

			<uses-permission android:name="com.sec.android.app.billing.permission.BILLING"/>
			<uses-permission android:name="android.permission.INTERNET"/>

			<!-- END samsung iap app purchase permissions -->
			<!-- ************************************************** -->

			<application android:enabled="true">
			
				...
			
				<!-- ************************************************** -->
				<!-- START samsung iap app purchase activities -->

				<activity
					android:name="sk.krusty.ane.samsung.inapppurchase.activities.InitializeActivity"
					android:theme="@style/Theme.Empty"
					android:configChanges="orientation|screenSize"/>
				<activity
					android:name="sk.krusty.ane.samsung.inapppurchase.activities.StartPaymentActivity"
					android:theme="@style/Theme.Empty"
					android:configChanges="orientation|screenSize"/>
				<activity
					android:name="sk.krusty.ane.samsung.inapppurchase.activities.GetItemsActivity"
					android:theme="@style/Theme.Empty"
					android:configChanges="orientation|screenSize"/>
				<activity
					android:name="sk.krusty.ane.samsung.inapppurchase.activities.GetItemsInboxActivity"
					android:theme="@style/Theme.Empty"
					android:configChanges="orientation|screenSize"/>


				<activity
					android:name="com.samsung.android.sdk.iap.lib.activity.InboxActivity"
					android:theme="@style/Theme.Empty"
					android:configChanges="orientation|screenSize"/>

				<activity
					android:name="com.samsung.android.sdk.iap.lib.activity.PaymentActivity"
					android:theme="@style/Theme.Empty"
					android:configChanges="orientation|screenSize"/>

				<activity
					android:name="com.samsung.android.sdk.iap.lib.activity.ItemActivity"
					android:theme="@style/Theme.Empty"
					android:configChanges="orientation|screenSize"/>


				<!-- END samsung iap app purchase activities -->
				<!-- ************************************************** -->
				
			</application>
		</manifest>
	]]></manifestAdditions>
</android>

Referencies :

When initializing your app, call the initialize method to init the internal ANE.

ane-samsung-in-app-purchase's People

Contributors

fokator avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

ane-samsung-in-app-purchase's Issues

ANE

Hello, any chance you could include a compiled ANE as well in your build folder?
Would be most grateful!

sample as3 integration code

Hello

First of all, just wanted to say thank you for making this ANE available, really appreciate it!

Would you be willing to share some Actionscript sample integration code for this?

It's a lot of guesswork just derive everything from the available public API calls...

Would be really useful to have some as3 code at least for the 2 main user journey flows:

  1. purchasing flow, - getting success / fail callbacks
  2. Getting purchased items (including initialising the ANE)

plus perhaps some useful error callbacks :)

Perhaps you've made a specialised class to deal with Samsung store for your app, as I've done for iTunes, Google Play and Amazon store, such class would be a good example of integration.

If you don't like to share it publically maybe you could send it to my email [email protected] please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.