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:
13
index.js
13
index.js
@@ -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;
|
||||
Reference in New Issue
Block a user