dooboolab-community / react-native-iap

In App Purchase module for React Native!

Home Page:https://react-native-iap.dooboolab.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android price returned is actually the localizedPrice

ilyakar opened this issue · comments

Version of react-native-iap

0.2.17

Expected behavior

On Android, product.price should be a number e.g., 23.99

Actual behavior

Returns "CZK 23.99"

Steps to reproduce the behavior

commented

@ilyakar Hi! Thank you for the bug report. I've just fixed this one and published to npm version 0.3.0-beta5. Could you try this one? Also please note that there are some breaking changes in 0.3.* for renamed methods. Please check the readme.

Okay. I'll give it a try, thanks. The reason I'm still sticking to 0.2.17 is because I had some problems on Android with the .prepare() method of 0.3.0-beta4. Apparently, it's expecting some attributes, unlike 0.2.17?

commented

@ilyakar prepare() method is just same for prepareAndroid(). If it is not working as expected could you please share?

commented

I think your primary issue is solved.