add ios
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#import "AppDelegate.h"
|
||||
#import "GeneratedPluginRegistrant.h"
|
||||
@import Firebase;
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
@@ -7,7 +8,16 @@
|
||||
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||||
[GeneratedPluginRegistrant registerWithRegistry:self];
|
||||
// Override point for customization after application launch.
|
||||
if (@available(iOS 10.0, *)) {
|
||||
[UNUserNotificationCenter currentNotificationCenter].delegate = (id<UNUserNotificationCenterDelegate>) self;
|
||||
}
|
||||
return [super application:application didFinishLaunchingWithOptions:launchOptions];
|
||||
}
|
||||
|
||||
//- (void)application:(UIApplication *)application
|
||||
// didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
|
||||
// // Pass device token to auth.
|
||||
// [[FIRAuth auth] setAPNSToken:deviceToken type:FIRAuthAPNSTokenTypeUnknown];
|
||||
// // Further handling of the device token if needed by the app.
|
||||
//}
|
||||
@end
|
||||
|
||||
@@ -3,21 +3,21 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CLIENT_ID</key>
|
||||
<string>865099544652-okjme55c71n8piiphtjaqk543ngl2n3g.apps.googleusercontent.com</string>
|
||||
<string>944560757353-o6emrja7ad8g8ulbcvvpah9a1tul3s21.apps.googleusercontent.com</string>
|
||||
<key>REVERSED_CLIENT_ID</key>
|
||||
<string>com.googleusercontent.apps.865099544652-okjme55c71n8piiphtjaqk543ngl2n3g</string>
|
||||
<string>com.googleusercontent.apps.944560757353-o6emrja7ad8g8ulbcvvpah9a1tul3s21</string>
|
||||
<key>API_KEY</key>
|
||||
<string>AIzaSyCdYfjf7aYtMHMHwS4_pZ2H6lHg0kSVOlk</string>
|
||||
<string>AIzaSyBZICfIDWbWqjxHwY_jFnWv34EtCpiiE78</string>
|
||||
<key>GCM_SENDER_ID</key>
|
||||
<string>865099544652</string>
|
||||
<string>944560757353</string>
|
||||
<key>PLIST_VERSION</key>
|
||||
<string>1</string>
|
||||
<key>BUNDLE_ID</key>
|
||||
<string>com.mokkon.easycard-dev</string>
|
||||
<string>com.mokkon.fcs.dev</string>
|
||||
<key>PROJECT_ID</key>
|
||||
<string>easy-card-dev</string>
|
||||
<string>fcs-dev1</string>
|
||||
<key>STORAGE_BUCKET</key>
|
||||
<string>easy-card-dev.appspot.com</string>
|
||||
<string>fcs-dev1.appspot.com</string>
|
||||
<key>IS_ADS_ENABLED</key>
|
||||
<false></false>
|
||||
<key>IS_ANALYTICS_ENABLED</key>
|
||||
@@ -29,8 +29,8 @@
|
||||
<key>IS_SIGNIN_ENABLED</key>
|
||||
<true></true>
|
||||
<key>GOOGLE_APP_ID</key>
|
||||
<string>1:865099544652:ios:4dfae368fb05f4cc</string>
|
||||
<string>1:944560757353:ios:de037244faea4173fa60f8</string>
|
||||
<key>DATABASE_URL</key>
|
||||
<string>https://easy-card-dev.firebaseio.com</string>
|
||||
<string>https://fcs-dev1.firebaseio.com</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -18,10 +18,28 @@
|
||||
<string>$(FLUTTER_BUILD_NAME)</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleURLTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>com.googleusercontent.apps.944560757353-o6emrja7ad8g8ulbcvvpah9a1tul3s21</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>$(FLUTTER_BUILD_NUMBER)</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>NSCameraUsageDescription</key>
|
||||
<string>Camera permission is required for barcode scanning.</string>
|
||||
<key>UIBackgroundModes</key>
|
||||
<array>
|
||||
<string>fetch</string>
|
||||
<string>remote-notification</string>
|
||||
</array>
|
||||
<key>UILaunchStoryboardName</key>
|
||||
<string>LaunchScreen</string>
|
||||
<key>UIMainStoryboardFile</key>
|
||||
|
||||
8
ios/Runner/Runner.entitlements
Normal file
8
ios/Runner/Runner.entitlements
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>aps-environment</key>
|
||||
<string>development</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user