Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android price returned is actually the localizedPrice #86

Closed
ilyakar opened this issue Apr 2, 2018 · 4 comments
Closed

Android price returned is actually the localizedPrice #86

ilyakar opened this issue Apr 2, 2018 · 4 comments

Comments

@ilyakar
Copy link

ilyakar commented Apr 2, 2018

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

hyochan added a commit that referenced this issue Apr 3, 2018
@hyochan
Copy link
Owner

hyochan commented Apr 3, 2018

@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.

@ilyakar
Copy link
Author

ilyakar commented Apr 3, 2018

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?

@hyochan
Copy link
Owner

hyochan commented Apr 3, 2018

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

@hyochan
Copy link
Owner

hyochan commented Apr 9, 2018

I think your primary issue is solved.

@hyochan hyochan closed this as completed Apr 9, 2018
marzuq-adebayo-dev added a commit to marzuq-adebayo-dev/React-Native-iap that referenced this issue May 20, 2023
dev-arrow added a commit to dev-arrow/react-native-iap that referenced this issue Nov 25, 2024
foxvector added a commit to foxvector/native-app that referenced this issue Jan 25, 2025
foxvector added a commit to foxvector/native-app that referenced this issue Jan 25, 2025
This is related to [issue](hyochan/react-native-iap#86).

Request-Give product.price number not localized price.

This is related to [issue](hyochan/react-native-iap#86).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants