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

Getting InAppUtils undefined #182

Open
digiperfect-siddharth-pardeshi opened this issue Jul 9, 2018 · 2 comments
Open

Getting InAppUtils undefined #182

digiperfect-siddharth-pardeshi opened this issue Jul 9, 2018 · 2 comments

Comments

@digiperfect-siddharth-pardeshi

import { NativeModules } from 'react-native'
const { InAppUtils } = NativeModules

var products = [
'com.xyz.abc', // my product id
];
InAppUtils.loadProducts(products, (error, products) => {

});

At the highlighted i am getting InAppUtils undefined due to which i can invoke loadProducts() function.

so can you help me out?

@alansuhe
Copy link

The same problem,after I updated react-native to 0.56.

@ravirupareliya
Copy link

You need to manualy link the library, check manual linking

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

3 participants