working on creating and integrating the required native modules and implementing the iCamera SDK display on the React Native side.

This commit is contained in:
2025-12-19 23:16:15 +05:30
parent eb49b37b8a
commit a66eb11512
2 changed files with 236 additions and 106 deletions

View File

@@ -7,3 +7,16 @@ import App from './App';
import { name as appName } from './app.json';
LogBox.ignoreAllLogs();
AppRegistry.registerComponent(appName, () => App);
// 1. Hook (Easiest) ⭐
// const scanner = useCameraScanner({
// presignedUrl: 'https://...',
// onScanResult: (result) => console.log(result.code),
// });
// 2. Ready Screen
//<ScannerScreen presignedUrl="..." onScan={handleScan} />
// 3. Direct Module
// const { ICameraSDK } = NativeModules;