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

Package won't work #1

Open
LordAltair74 opened this issue Dec 19, 2019 · 4 comments
Open

Package won't work #1

LordAltair74 opened this issue Dec 19, 2019 · 4 comments

Comments

@LordAltair74
Copy link

Hi I am trying to make an app and release it on Cafe Bazaar. I want to add this package to my code to people rate us in Cafe Bazaar, But It wont work and does not know the method "showRatePackage".
Could you please help me? tnx

@LordAltair74 LordAltair74 changed the title package won't work Package won't work Dec 19, 2019
@sijad
Copy link
Member

sijad commented Dec 20, 2019

I just tested this package with latest RN version, and it seems to works fine. what's your RN version?

@LordAltair74
Copy link
Author

I just tested this package with latest RN version, and it seems to works fine. what's your RN version?

The version is 0.61.2.

Thanks for answering

@LordAltair74
Copy link
Author

I just tested this package with latest RN version, and it seems to works fine. what's your RN version?

By the way, when i checked it right now, It will open the link in browser but I want the rate page to be on my app just like the picture in readme's package.

@sijad
Copy link
Member

sijad commented Dec 26, 2019

it's probably because cafebazaar app is not installed in your device. it throw an error in that case:

import CafeBazaarIntents from 'react-native-cafebazaar-intents';

CafeBazaarIntents.showRatePackage('com.hitalent.hitalent')
  .catch(() => {
    console.log('cafebazaar app does not installed...');
  });

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