Git Product home page Git Product logo

react-native-referrer's People

Contributors

dannycochran avatar jeandecampredon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-native-referrer's Issues

Missing required attribute `homepage`

i got this error
[!] The RNSFAuthenticationSession pod failed to validate due to 1 error:
- ERROR | attributes: Missing required attribute homepage.
- WARN | source: The version should be included in the Git tag.
- WARN | description: The description is equal to the summary.

please add homepage url at RNSFAuthenticationSession.podspec
version: 0.1.1
react-native: 0.61.2

Manually raising intent not working

Hey,
I don't have a lot of background in react or android development, anyway need to get this done.

I followed the steps properly, but no luck testing it.

Suppose my package name is com.hassan.ashraf, and then manually trying to raise Intent is not working.

adb shell
am broadcast -a com.android.vending.INSTALL_REFERRER -n com.hassan.ashraf/com.jdc.reactlibrary.ReferrerReceiver --es "referrer" "utm_medium%hassanmedium%26utm_campaign%3Dhassanashraf"

and handling the above with

....
RNReferrer.getReferrer().then(referrer=> {
      console.log("referee is:- ", referrer);
});

doesn't works.

If this is not the correct way to test it, can you add some test steps in readme so that without going to play store it can be tested ?

Possible Unhandled Promise Rejection (id: 0): TypeError: null is not an object (evaluating '_reactNativeReferrer.default.getReferrer')

Hey! I have added the Usage code that you have put in ReadME but I am getting the following error:

06-24 19:22:15.407 15144 15248 W ReactNativeJS: Possible Unhandled Promise Rejection (id: 0): 06-24 19:22:15.407 15144 15248 W ReactNativeJS: TypeError: null is not an object (evaluating '_reactNativeReferrer.default.getReferrer')

Any idea what would be causing this?

RN code:

const referer = await RNReferrer.getReferrer();

Not Getting Referrer from Play Store URL

Hi

I am using the package in my application to get the user referrer information from Play store but when i am installing the application from Play store url with parameters utm_source and utm_medium its coming as not set, Can you please let me know what exactly i am doing wrong here.

Thanks
Madhv

Unsure when it is safe to call getReferrer()

Hello, thanks for writing this! Definitely the simplest solution out there.
I'm having some trouble getting this to work in a stable manner. It works most of the time, but in one case it doesn't work.

If I install my app from the Google Play Store, and hit "Open" immediately when it appears, my app reports no referrer from getReferrer(). That is, the promise is resolved with undefined. But if I install it and wait a moment after "Open" appears before hitting it and opening the app, everything works fine. I'm sure this is a problem with where/when in my app getReferrer() is called.

So when in a react-native app can I be sure that getReferrer() will be work every time?

Thanks!

Example of return

Hello,

Is there some example of the correct return of RNReferrer.getReferrer()
I'm getting the next object and can't extract any information from it.

{"_40": 0, "_55": null, "_65": 0, "_72": null, "catch": null, "done": null, "finally": null, "then": null}

Thanks

The email I have received from Play Console about deprecation of install referrer

Hi, I have received an email about the install referrer and wanted to share it with you. As I understand it will deprecate soon and they recommend a new package.


Hello Google Play Developer,

We recently announced that we’ll be deprecating the install_referrer intent broadcast mechanism. Because one or more of your apps use this intent to track referrals, we wanted to ensure you make the switch before March 1, 2020. After this date, new versions of the Play Store app will no longer broadcast the install_referrer intent after app installs.

Action required
Migrate to the Play Install Referrer API to track your app installs for the following apps and/or games.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.