Ask AI

SDK UPGRADE GUIDE

This guide helps you upgrade the Nashid Verify SDK to the latest version for your project.

General Steps Before You Start

  1. Check the Latest SDK Version
    1. Confirm the latest SDK version with your Nashid representative or in your integration dashboard/documentation.

  1. Backup Your Current Integration
    1. Make sure your current project is version-controlled (e.g., Git) before making changes.

ANDROID UPGRADE STEPS

1. Open your project’s build.gradle (Project-level)

Ensure this block exists:


allprojects {
  repositories {
    mavenCentral()
  }
}

2. Update SDK dependency in build.gradle (Module-level)

Replace the current line:

implementation 'io.nashid.verify:sdk:x.x.x'

with:

implementation 'io.nashid.verify:sdk:latest_version'

Example: 1.0.33 if that's the latest version.

3. Sync Gradle

Click “Sync Now” in Android Studio or run:

./gradlew clean build

4. Test Build Compatibility

  • Confirm compileSdk and targetSdk are up to date (recommended: 35+).
  • Re-run and test your verification flow.

iOS UPGRADE STEPS

1. Open Your Podfile

Update the pod line:

pod 'nashidVerifySDK'

2. Run Pod Update

In terminal:

cd ios pod update nashidVerifySDK

If you're using version pinning (pod 'nashidVerifySDK', '1.0.3'), replace the version with the latest version or remove it to default to the latest.

3. Clean & Rebuild

xcodebuild clean

Then rebuild the project via Xcode.

4. Validate Entitlements and Permissions

Ensure all Info.plist entries and Signing & Capabilities for NFC are still valid.


FLUTTER UPGRADE STEPS

1. Update pubspec.yaml

Replace the dependency version:

dependencies: nashid_verify_sdk: ^latest_version

You can check latest version over the following link nashid_verify_sdk | Flutter package

Then run:

flutter pub get

2. iOS-Specific: Update CocoaPods

cd ios pod update nashidVerifySDK

3. Android-Specific: Sync Gradle

Ensure compileSdk, targetSdk, and minSdk in android/app/build.gradle are valid, then sync.

4. Test Integration

Run on both Android and iOS devices to confirm SDK behavior is intact.


REACT NATIVE UPGRADE STEPS

1. Upgrade Package via NPM or Yarn

npm install nashidverifysdk@latest # or yarn add nashidverifysdk@latest

You can check latest version over the following link npm: nashidverifysdk

2. Update iOS Pods

cd ios pod update nashidVerifySDK

If your Podfile.lock pins a version, consider deleting it before pod update.

3. Android: Update Gradle Dependency (if not auto-linked)

In android/app/build.gradle:

implementation 'io.nashid.verify:sdk:latest_version'

4. Clean and Rebuild

cd android && ./gradlew clean cd .. && npx react-native run-android

And for iOS:

cd ios && xcodebuild clean && pod install && cd .. npx react-native run-ios


Did this answer your question?
😞
😐
🤩

Last updated on July 10, 2025