0.1.1 • Published 1 year ago

@aatlas/engagement v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@aatlas/engagement

Build status

Enhance feature awareness and drive success with our advanced nudging platform. Aatlas is a powerful tool designed to boost engagement for your newly launched feature.

Installation

npm install @aatlas/engagement

or

yarn add @aatlas/engagement

Required dependencies

Bare React Native

Expo

Usage

import InAppGuide, { ConfigProvider } from '@aatlas/engagement';

// ...

const App = () => {
  /**
   * Control when you want to show the inAppGuide
   */
  const [visible, setVisible] = useState<boolean>(false);
  return (
    /**
     * Copy the 'appEnvId' and 'appSecret' from your Aatlas dashboard
     */
    <ConfigProvider appEnvId={<number>} appSecret="<string>">
      <View
        style={{
          flex: 1,
          justifyContent: 'center',
          alignItems: 'center',
        }}
      >
        <Button title="Open In app guide" onPress={() => setVisible(true)} />
        /**
         *  Use the InAppGuide component and pass in the required props
         */
        <InAppGuide visible={visible} setVisible={setVisible} />
      </View>
    </ConfigProvider>
  );
}

Try expo example app

cd example
yarn
// Update /app/index.tsx and set the appEnvId and appSecret from your Aatlas dashboard
<ConfigProvider appEnvId={0} appSecret="xxxx">
yarn start

Contributing

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

License

MIT


Made with create-react-native-library

0.1.1

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago