Every GS1 identifier, mapped.
Scan a GS1 Digital Link or DataMatrix payload and get a typed object back — GTIN, batch, serial, expiry, weight and more. No regex, no parser to maintain.
One Android SDK for GS1 Digital Link decoding, cryptographic verification and geofenced diversion intelligence — with thin bindings for Kotlin, Java, React Native, Flutter and Ionic.
// one artifact, every framework dependencies { implementation( "com.github.ratifyeapp.ratifye-sdk:scanner:v1.0.0" ) }
BarcodeSDK.initialize( context = this, sdkConfig = BarcodeSDKConfig( apiKey = "YOUR_RATIFYE_API_KEY", domain = "dl.ratifye.ai" ) )
Camera handling, GS1 parsing and verification normally mean months of glue code. This is the whole loop — shipped as a dependency.
Scan a GS1 Digital Link or DataMatrix payload and get a typed object back — GTIN, batch, serial, expiry, weight and more. No regex, no parser to maintain.
Signature checks and diversion rules run against your Ratifye workspace, so the answer on screen is the authoritative one — not a guess made on the device.
Torch, tap-to-focus, haptics and a guided viewfinder — so you don't ship a camera preview that fights the user.
Each scan returns a geofence verdict, so out-of-territory stock surfaces the moment a rep scans it — not at quarter-end.
The same SDK behind Kotlin, Java, React Native, Flutter and Ionic. One upgrade path, no forked integrations to maintain.
Pick your stack. Every path uses the same JitPack artifact, so the code below is all you need to get scanning.
Declare JitPack once in your project-level settings so Gradle can resolve the SDK.
dependencyResolutionManagement { repositories { google() mavenCentral() maven { url = uri("https://jitpack.io") } } }
One artifact pulls in the scanner, GS1 parser and verification client.
dependencies { implementation("com.github.ratifyeapp.ratifye-sdk:scanner:v1.0.0") }
Call once at startup with your API key, then open the scanning activity when you need it.
import ai.ratifye.scanner.BarcodeSDK import ai.ratifye.scanner.BarcodeSDKConfig import ai.ratifye.scanner.camera.ScanActivity // Initialize once, with your API key BarcodeSDK.initialize( context = this, sdkConfig = BarcodeSDKConfig( apiKey = "YOUR_RATIFYE_API_KEY", domain = "dl.ratifye.ai" // optional ) ) // Launch the live scanner startActivity(Intent(this, ScanActivity::class.java))
JitPack resolves the same artifact for Java projects.
dependencyResolutionManagement { repositories { google() mavenCentral() maven { url 'https://jitpack.io' } } }
dependencies { implementation 'com.github.ratifyeapp.ratifye-sdk:scanner:v1.0.0' }
The Java surface mirrors Kotlin through static accessors.
import ai.ratifye.scanner.BarcodeSDK; import ai.ratifye.scanner.BarcodeSDKConfig; import ai.ratifye.scanner.camera.ScanActivity; import android.content.Intent; // Initialize with your API key BarcodeSDK.INSTANCE.initialize( this, new BarcodeSDKConfig("YOUR_RATIFYE_API_KEY", null, "dl.ratifye.ai", true, new ScanOptions()) ); // Launch the scanner activity Intent intent = new Intent(this, ScanActivity.class); startActivity(intent);
React Native ships an Android native module — point Gradle at JitPack, then add the dependency.
allprojects { repositories { maven { url 'https://jitpack.io' } } }
dependencies { implementation 'com.github.ratifyeapp.ratifye-sdk:scanner:v1.0.0' }
Call the native initializer once when the application starts.
import ai.ratifye.scanner.BarcodeSDK; import ai.ratifye.scanner.BarcodeSDKConfig; import ai.ratifye.scanner.camera.ScanActivity; // Inside onCreate() BarcodeSDK.INSTANCE.initialize( this, new BarcodeSDKConfig("YOUR_RATIFYE_API_KEY", null, "dl.ratifye.ai", true, new ScanOptions()) );
The SDK runs in the Android host app; Flutter calls it over a
MethodChannel.
allprojects { repositories { maven { url 'https://jitpack.io' } } }
dependencies { implementation 'com.github.ratifyeapp.ratifye-sdk:scanner:v1.0.0' }
Configure the SDK in the Kotlin host activity and expose a channel method to Dart.
import ai.ratifye.scanner.BarcodeSDK import ai.ratifye.scanner.BarcodeSDKConfig import ai.ratifye.scanner.camera.ScanActivity BarcodeSDK.initialize( context = this, sdkConfig = BarcodeSDKConfig(apiKey = "YOUR_RATIFYE_API_KEY") )
Add JitPack for resolution, then the SDK dependency to the Android app module.
allprojects { repositories { maven { url 'https://jitpack.io' } } }
dependencies { implementation 'com.github.ratifyeapp.ratifye-sdk:scanner:v1.0.0' }
Call the SDK from the host activity before your web layer requests a scan.
import ai.ratifye.scanner.BarcodeSDK; import ai.ratifye.scanner.BarcodeSDKConfig; BarcodeSDK.INSTANCE.initialize( this, new BarcodeSDKConfig("YOUR_RATIFYE_API_KEY", null, "dl.ratifye.ai", true, new ScanOptions()) );
Guided capture, an unambiguous verdict and a detail sheet for GS1 values — all included, all consistent with your brand tokens.
GTIN 08901234567890 · Batch B123
Android first, cross-platform friendly. No private Maven repository, no proprietary tooling beyond the dependency itself.
| Surface | Integration | Status |
|---|---|---|
| Kotlin | Native SDK · ScanActivity |
v1.0.0 |
| Java | Same artifact, Java accessors | v1.0.0 |
| React Native | Android native module | v1.0.0 |
| Flutter | Host activity + MethodChannel |
v1.0.0 |
| Ionic / Capacitor | Android plugin | v1.0.0 |
| iOS | Native Swift · CocoaPods | Closed beta |
Our native Swift SDK and CocoaPods package for iOS 15+ is in closed beta with select enterprise partners.
Request beta accessGet an API key, drop in the dependency and test the full loop against a sandbox pack. The team is on hand for integration reviews and rollout planning.