GithubHelp home page GithubHelp logo

Comments (4)

GM-appsflyer avatar GM-appsflyer commented on September 20, 2024 1

Hey @mattbushell ,

Thanks for the feedback!
We've pushed a fix for this issue.

from appsflyer-nativescript-plugin.

mattbushell avatar mattbushell commented on September 20, 2024

Pretty sure the delegate doesnt need to extend UIResponder either

from appsflyer-nativescript-plugin.

GM-appsflyer avatar GM-appsflyer commented on September 20, 2024

Hey @mattbushell ,

This is the implementation for the app delegate for the demo project that uses:
https://docs.nativescript.org/best-practices/native-class.html.
For now, you can comment it out from the plugin as it is just an example of how to add AppsFlyer deep link methods and att consent dialog in the iOS life-cycles.
We'll update the plugin so it will be optional.

from appsflyer-nativescript-plugin.

mattbushell avatar mattbushell commented on September 20, 2024

Not sure why this is being so tricky to explain. The code is not legal TS; NativeScript or not. Just load the class in an IDE or tsc in isolation, it will not compile. There is no mention of using incorrect TS in the nativescript docs you link.

extends UIResponder, ATTrackingManager

It is a simple fix so that your Demo app is not gibberish for new inexperienced users, and that is to remove the ATTTrackingResponder from the extends portion of the class def, and simply import it.

Futhermore as mentioned you dont actually need to extend anything, simply implementing the UIAppDelegate is sufficient

from appsflyer-nativescript-plugin.

Related Issues (20)

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.