[go: nahoru, domu]

Skip to content

davidramos-om/react-native-admob-ads

Repository files navigation

Expo project template implementing google admob ads

Create a new project

npx create-expo-app <project-name>
cd <project-name>

Install dependencies

expo install expo-dev-client

npm install -g yarn

# install eas-cli globally (An Expo command line tool)
npm install -g eas-cli

You might need to install fastlane

A tool used for automating the build and release process. Link to fastlane

brew install fastlane

echo 'export PATH="/opt/homebrew/opt/libpq/bin:$PATH"' >> ~/.zshrc

export LDFLAGS="-L/opt/homebrew/opt/libpq/lib"

export CPPFLAGS="-I/opt/homebrew/opt/libpq/include"

You might need to install CocoaPods (a dependency manager for mobiles apps on iOS)

link to CocoaPods

sudo gem install cocoapods

follow the ruby.md instructions if you don't have it installed

Login and explore eas-cli

eas login
eas whoami
eas logout

Configure eas.json

eas build:configure

Build for local development on ios/android

--profile flag value comes from eas.json in eas.json: "distribution" : "internal" or "store" -- internal: shareable URLs for our builds -- store: testflight

eas build -p ios --profile development --local
es build -p android --profile development --local

Run the project on ios/android

npm run ios #run on ios
npm run android #run on android

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published