1.4.0 • Published 5 months ago
@moneylion/react-native-offer-carousel v1.4.0
react-native-offer-carousel
Description
This SDK involves a horizontal-scrolling offers carousel section. The carousel consists of offer cards of various types and categories.
Setup Guide
What you need:
- Install
Node.json your machine - Once Node.js is installed, install Yarn with
npm - Twingate Access to MoneyLion offers
- You should be able to see this on your Twingate, ensure that you are connected to the United States network
- Clone this repo on your machine
- Install Expo Go on your physical test device (only needed for running on real device)
Running on simulator (iOS/Android)
Steps to run:
- Obtain the
.envfile that contains private tokens from any @marketplace-platform-mobile team members. - In the engine-mobile-sdk repo folder, open your terminal.
- Navigate to the offer-carousel folder, then the example folder.
- Use this command
cd offer-carousel/example
- Use this command
- Run
yarn installto install the packages. - Run
yarn start --reset-cacheto start the metro bundler. - Press
ito run the app on iOS simulator, pressafor Android emulator. - The app should be up and running on your simulator/emulator.
Demo
https://github.com/user-attachments/assets/17403661-36b0-4043-849f-0a77bc907a5d
Running on real device
- In the engine-mobile-sdk repo folder, open your terminal.
- Navigate to the offer-carousel folder, then the example folder.
- Use this command
cd offer-carousel/example
- Use this command
- Run
yarn installto install the packages. - Run
yarn expo startif your machine and test device are on the same network. Else, runyarn expo start --tunnelif your test device is on a different network than your development machine. (Important: Ensure that no otheryarn startinstance is running from the same folder) - Scan the QR code shown in the terminal with Expo Go (Android) or the Camera app (iOS), the app should start running on your test device.
1.4.0
5 months ago
1.3.3
5 months ago
1.3.1
5 months ago
1.3.0
5 months ago
1.2.2
5 months ago
1.2.1
5 months ago
1.2.0
5 months ago
1.1.0
5 months ago
1.0.10
6 months ago
1.0.9
6 months ago
1.0.8
6 months ago
1.0.7
6 months ago
1.0.6
6 months ago
1.0.5
7 months ago
1.0.4
7 months ago
1.0.3
7 months ago
1.0.2
7 months ago
1.0.1
7 months ago
1.0.0
7 months ago