- 1 Minute to read
- Print
- DarkLight
Troubleshooting
- 1 Minute to read
- Print
- DarkLight
Here are some common issues you might encounter when integrating the Mapp Intelligence React Native SDK, along with suggested solutions:
Issue 1: CocoaPods Installation Failure on iOS
Problem: Running pod install
fails with an error, preventing the installation of necessary iOS dependencies.
Solution:
Ensure that CocoaPods is installed correctly by running
sudo gem install cocoapods
.Try clearing the CocoaPods cache by running
pod cache clean --all
.Delete the
Podfile.lock
andPods/
directory from your iOS project and runpod install
again.
Issue 2: Android Build Fails with SDK Compatibility Errors
Problem: The Android build fails, indicating that the SDK version is not compatible.
Solution:
Check the
build.gradle
files to ensure that thecompileSdkVersion
andtargetSdkVersion
are set to at least 21.Ensure that your JDK version is 17 or higher.
If you recently updated the SDK, clean your project by running
./gradlew clean
and rebuild.
Issue 3: Initialization Fails with Network Errors
Problem: The SDK fails to initialize due to network issues, such as an inability to reach the tracking domain.
Solution:
Verify that the
TRACK_DOMAIN
URL is correct and accessible from your development environment.Check your network connection and any firewall settings that might block outgoing requests.
Ensure that the app has the necessary permissions to access the internet on both Android and iOS platforms.
Issue 4: Data Not Appearing in Mapp
Problem: Tracking data does not appear in Mapp Intelligence.
Solution:
Ensure that the
TRACK_IDS
andTRACK_DOMAIN
are correctly configured during initialization.Check if tracking requests are being sent by inspecting network logs or using a debugging proxy.
Verify that the
initWithConfiguration
method has been called successfully and that the SDK is initialized correctly.Be aware that data updates in Mapp Intelligence occur on an hourly basis. This means that there may be a delay of up to one hour before newly tracked data appears in the dashboard. If data is not visible immediately, please allow some time before checking again.