Loading...
Loading...
React Native+Expo (EAS), Flutter/Dart (Bloc/Riverpod), Capacitor, KMM — framework selection
npx skill4agent add alphaonedev/openclaw-graph cross-platformexpo init MyApp --template blanknpm install @react-navigation/nativeflutter create MyAppfinal counterProvider = StateProvider((ref) => 0);expect fun platformFunction() {}npx cap add androidexpo logineas build --platform allPOST https://api.expo.dev/v2/projectsflutter pub add flutter_blocflutter run --device-id emulator-5554BlocProvider.of(context).add(Event())npx cap syncnpx cap open androidCapacitor.Plugins.Camera.getPhoto()./gradlew buildimport shared.Platform().hello(){ "expo": { "name": "MyApp", "slug": "myapp", "platforms": ["ios", "android"] } }dependencies: flutter_riverpod: ^2.0.0fetch('https://api.example.com/data', { headers: { Authorization: } })http.get(Uri.parse('https://api.example.com/data'), headers: {'Authorization': 'Bearer $envVar'}).then((response) => ...);@capacitor/coreCapacitorHttp.get({url: 'https://api.example.com/data', headers: {Authorization: $BACKEND_API_KEY}});expo buildflutter runflutter emulators --launch Pixel_API_33npx cap sync./gradlew cleanconsole.error(e)try { await http.get(...); } catch (e) { print(e.toString()); }