Installation

Install our Android and iOS package to setup the Gameball Widget in the best way for your use-case.

In our to install Gameball Widget to your React native app, follow these guidelines. First install the package

npm install --save react-native-gameball

iOS Installation

  1. cd ios — navigate to the IOS directory in the project

  2. pod install

  3. cd ..

Android Installation

After installing the package open path/to/project/android/app/build.gradle file android

{  sourceSets { main { assets.srcDirs = [‘src/main/assets’, ‘../../html’] } } }

Installation Issues

iOS Issues:

"rnc webview was not found in the UI manager iOS sol"

  1. check that react-native-webview if installed and in package.json. If not, install it through npm install --save react-native-webview. If not solved

  2. cd ios

  3. pod install

If the issue persists, run the following line in the project directory: react-native link react-native-webview

Last updated