diff --git a/wallet/README.md b/wallet/README.md index 76871be19e..751ec35734 100644 --- a/wallet/README.md +++ b/wallet/README.md @@ -6,6 +6,11 @@ Pylons Wallet This project is a starting point for a Flutter application. +1) Req .prod_env file and place it in /wallet/env/ dir. +2) Req GoogleService-Info.plist file and place it in /wallet/ios/runner dir. +3) Req Google-services.json file and place it in /wallet/android/app dir. +4) Remove comments in AppDelegate.swift file to play in ios simulator +5) Req to add generated simulator Debug token to be added in firebase console>ios debug. diff --git a/wallet/ios/Runner/AppDelegate.swift b/wallet/ios/Runner/AppDelegate.swift index 3877d8faf8..b3b778ab1c 100644 --- a/wallet/ios/Runner/AppDelegate.swift +++ b/wallet/ios/Runner/AppDelegate.swift @@ -9,9 +9,12 @@ import flutter_downloader _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { - // Uncomment while using ios simulator -// let providerFactory = AppCheckDebugProviderFactory() -// AppCheck.setAppCheckProviderFactory(providerFactory) + // Uncomment while using ios simulator + + let providerFactory = AppCheckDebugProviderFactory() + AppCheck.setAppCheckProviderFactory(providerFactory) + FirebaseApp.configure() + // Register Flutter plugins GeneratedPluginRegistrant.register(with: self) FlutterDownloaderPlugin.setPluginRegistrantCallback(registerPlugins) return super.application(application, didFinishLaunchingWithOptions: launchOptions)