@amplitude/experiment-react-native-client
    TypeScript icon, indicating that this package has built-in type declarations

    0.5.2 • Public • Published

    experiment-react-native-client

    Official Amplitude Experiment React Native Client

    Installation

    npm install @amplitude/experiment-react-native-client

    Usage

    import { Experiment } from "@amplitude/experiment-react-native-client";
    
    // ...
    
    await Experiment.initialize('API-Key');
    await Experiment.fetch({user_id: 'user_id'});
    const variant = await Experiment.variant('react-native');
    console.log(variant.value);

    Contributing

    See the contributing guide to learn how to contribute to the repository and the development workflow.

    License

    MIT

    Install

    npm i @amplitude/experiment-react-native-client

    DownloadsWeekly Downloads

    1,367

    Version

    0.5.2

    License

    MIT

    Unpacked Size

    3.59 MB

    Total Files

    124

    Last publish

    Collaborators

    • kevinpagtakhan
    • mae.capozzi
    • justin-fiedler
    • qingzhuo
    • rctbusk
    • manthursday
    • jackmccloy
    • amp_haoliu
    • myztiq
    • curtisbliu
    • jtran
    • kelvin-lu
    • nutwani
    • hao.yu
    • kelson.warner
    • ajhorst_amp
    • brian.giori