Skip to content

irwinb/localized_iaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Localized IAPs

Localize your in-app products for Android.

Tutorial

  1. Login to your [publisher portal](portal and enter the "In-app Products and Subscriptions" section) and enter the "In-app Products and Subscriptions" section.

  2. Chose export to CSV. Alt Export to CSV

  3. Place CSV into assets folder.

  4. Try it out!

LocalizedIAPs iaps = new LocalizedIAPs( this, "in_app_products.csv" );

Map< String, Product > products = iaps.getProducts();


Product p;
p.getTitle();           // Get the correct text for chosen locale, if available (the fallback is otherwise chosen).
p.getFormattedPrice();  // Get a formatted price string that includes the price and currency symbol.

License

MIT

About

Localize your in-app products for Android.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published