Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb0902d9

Browse files
committed
Setup firebase auth for Android, iOS, and macOS
1 parent67b2dd4 commitb0902d9

File tree

5 files changed

+111
-6
lines changed

5 files changed

+111
-6
lines changed

‎android/app/google-services.json‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
}
1414
},
1515
"oauth_client": [
16+
{
17+
"client_id":"758124052811-uglomelrnk41rgisdu7r6a45e5rm0do7.apps.googleusercontent.com",
18+
"client_type":1,
19+
"android_info": {
20+
"package_name":"com.ysn.flutter_news_app",
21+
"certificate_hash":"9f63a2fac8cd4ea2acf7e89e3e425c7ddf2ce8eb"
22+
}
23+
},
1624
{
1725
"client_id":"758124052811-s8ehiu2a9d024pc9pc7l9q4siu9i54mb.apps.googleusercontent.com",
1826
"client_type":3
@@ -29,6 +37,13 @@
2937
{
3038
"client_id":"758124052811-s8ehiu2a9d024pc9pc7l9q4siu9i54mb.apps.googleusercontent.com",
3139
"client_type":3
40+
},
41+
{
42+
"client_id":"758124052811-bsgc75rn2qng5vfsqhdi6hq3vpagtcu7.apps.googleusercontent.com",
43+
"client_type":2,
44+
"ios_info": {
45+
"bundle_id":"com.ysn.flutterNewsApp"
46+
}
3247
}
3348
]
3449
}

‎ios/Runner.xcodeproj/project.pbxproj‎

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion =46;
6+
objectVersion =50;
77
objects = {
88

99
/* Begin PBXBuildFile section */
1010
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
1111
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
1212
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
13+
7B90C9362879B361001B262B /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 7B90C9352879B360001B262B /* GoogleService-Info.plist */; };
1314
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
1415
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
1516
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
@@ -35,6 +36,7 @@
3536
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
3637
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
3738
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
39+
7B90C9352879B360001B262B /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
3840
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
3941
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
4042
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -86,6 +88,7 @@
8688
97C146F01CF9000F007C117D /* Runner */ = {
8789
isa = PBXGroup;
8890
children = (
91+
7B90C9352879B360001B262B /* GoogleService-Info.plist */,
8992
97C146FA1CF9000F007C117D /* Main.storyboard */,
9093
97C146FD1CF9000F007C117D /* Assets.xcassets */,
9194
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
@@ -161,6 +164,7 @@
161164
files = (
162165
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
163166
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
167+
7B90C9362879B361001B262B /* GoogleService-Info.plist in Resources */,
164168
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
165169
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
166170
);
@@ -290,7 +294,10 @@
290294
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
291295
ENABLE_BITCODE = NO;
292296
INFOPLIST_FILE = Runner/Info.plist;
293-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
297+
LD_RUNPATH_SEARCH_PATHS = (
298+
"$(inherited)",
299+
"@executable_path/Frameworks",
300+
);
294301
PRODUCT_BUNDLE_IDENTIFIER = com.ysn.flutterNewsApp;
295302
PRODUCT_NAME = "$(TARGET_NAME)";
296303
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@@ -399,7 +406,8 @@
399406
MTL_ENABLE_DEBUG_INFO = NO;
400407
SDKROOT = iphoneos;
401408
SUPPORTED_PLATFORMS = iphoneos;
402-
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
409+
SWIFT_COMPILATION_MODE = wholemodule;
410+
SWIFT_OPTIMIZATION_LEVEL = "-O";
403411
TARGETED_DEVICE_FAMILY = "1,2";
404412
VALIDATE_PRODUCT = YES;
405413
};
@@ -414,7 +422,10 @@
414422
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
415423
ENABLE_BITCODE = NO;
416424
INFOPLIST_FILE = Runner/Info.plist;
417-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
425+
LD_RUNPATH_SEARCH_PATHS = (
426+
"$(inherited)",
427+
"@executable_path/Frameworks",
428+
);
418429
PRODUCT_BUNDLE_IDENTIFIER = com.ysn.flutterNewsApp;
419430
PRODUCT_NAME = "$(TARGET_NAME)";
420431
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@@ -433,7 +444,10 @@
433444
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
434445
ENABLE_BITCODE = NO;
435446
INFOPLIST_FILE = Runner/Info.plist;
436-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
447+
LD_RUNPATH_SEARCH_PATHS = (
448+
"$(inherited)",
449+
"@executable_path/Frameworks",
450+
);
437451
PRODUCT_BUNDLE_IDENTIFIER = com.ysn.flutterNewsApp;
438452
PRODUCT_NAME = "$(TARGET_NAME)";
439453
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPEplist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plistversion="1.0">
4+
<dict>
5+
<key>CLIENT_ID</key>
6+
<string>758124052811-bsgc75rn2qng5vfsqhdi6hq3vpagtcu7.apps.googleusercontent.com</string>
7+
<key>REVERSED_CLIENT_ID</key>
8+
<string>com.googleusercontent.apps.758124052811-bsgc75rn2qng5vfsqhdi6hq3vpagtcu7</string>
9+
<key>ANDROID_CLIENT_ID</key>
10+
<string>758124052811-uglomelrnk41rgisdu7r6a45e5rm0do7.apps.googleusercontent.com</string>
11+
<key>API_KEY</key>
12+
<string>AIzaSyA_gK5e9tys4srJ_rw-4wQ_Dp_PQ7zcwBg</string>
13+
<key>GCM_SENDER_ID</key>
14+
<string>758124052811</string>
15+
<key>PLIST_VERSION</key>
16+
<string>1</string>
17+
<key>BUNDLE_ID</key>
18+
<string>com.ysn.flutterNewsApp</string>
19+
<key>PROJECT_ID</key>
20+
<string>flutter-news-8c3d7</string>
21+
<key>STORAGE_BUCKET</key>
22+
<string>flutter-news-8c3d7.appspot.com</string>
23+
<key>IS_ADS_ENABLED</key>
24+
<false></false>
25+
<key>IS_ANALYTICS_ENABLED</key>
26+
<false></false>
27+
<key>IS_APPINVITE_ENABLED</key>
28+
<true></true>
29+
<key>IS_GCM_ENABLED</key>
30+
<true></true>
31+
<key>IS_SIGNIN_ENABLED</key>
32+
<true></true>
33+
<key>GOOGLE_APP_ID</key>
34+
<string>1:758124052811:ios:2dd4583dd48a59843c68ce</string>
35+
</dict>
36+
</plist>

‎macos/Runner.xcodeproj/project.pbxproj‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
2727
33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
2828
33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
29+
7B90C9382879B531001B262B /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 7B90C9372879B531001B262B /* GoogleService-Info.plist */; };
2930
/* End PBXBuildFile section */
3031

3132
/* Begin PBXContainerItemProxy section */
@@ -54,7 +55,7 @@
5455
/* Begin PBXFileReference section */
5556
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
5657
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
57-
33CC10ED2044A3C60003C045 /* flutter_news_app.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path ="flutter_news_app.app"; sourceTree = BUILT_PRODUCTS_DIR; };
58+
33CC10ED2044A3C60003C045 /* flutter_news_app.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = flutter_news_app.app; sourceTree = BUILT_PRODUCTS_DIR; };
5859
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
5960
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
6061
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
@@ -67,6 +68,7 @@
6768
33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = "<group>"; };
6869
33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = "<group>"; };
6970
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
71+
7B90C9372879B531001B262B /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
7072
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
7173
/* End PBXFileReference section */
7274

@@ -135,6 +137,7 @@
135137
33FAB671232836740065AC1E /* Runner */ = {
136138
isa = PBXGroup;
137139
children = (
140+
7B90C9372879B531001B262B /* GoogleService-Info.plist */,
138141
33CC10F02044A3C60003C045 /* AppDelegate.swift */,
139142
33CC11122044BFA00003C045 /* MainFlutterWindow.swift */,
140143
33E51913231747F40026EE4D /* DebugProfile.entitlements */,
@@ -227,6 +230,7 @@
227230
files = (
228231
33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */,
229232
33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */,
233+
7B90C9382879B531001B262B /* GoogleService-Info.plist in Resources */,
230234
);
231235
runOnlyForDeploymentPostprocessing = 0;
232236
};
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPEplist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plistversion="1.0">
4+
<dict>
5+
<key>CLIENT_ID</key>
6+
<string>758124052811-bsgc75rn2qng5vfsqhdi6hq3vpagtcu7.apps.googleusercontent.com</string>
7+
<key>REVERSED_CLIENT_ID</key>
8+
<string>com.googleusercontent.apps.758124052811-bsgc75rn2qng5vfsqhdi6hq3vpagtcu7</string>
9+
<key>ANDROID_CLIENT_ID</key>
10+
<string>758124052811-uglomelrnk41rgisdu7r6a45e5rm0do7.apps.googleusercontent.com</string>
11+
<key>API_KEY</key>
12+
<string>AIzaSyA_gK5e9tys4srJ_rw-4wQ_Dp_PQ7zcwBg</string>
13+
<key>GCM_SENDER_ID</key>
14+
<string>758124052811</string>
15+
<key>PLIST_VERSION</key>
16+
<string>1</string>
17+
<key>BUNDLE_ID</key>
18+
<string>com.ysn.flutterNewsApp</string>
19+
<key>PROJECT_ID</key>
20+
<string>flutter-news-8c3d7</string>
21+
<key>STORAGE_BUCKET</key>
22+
<string>flutter-news-8c3d7.appspot.com</string>
23+
<key>IS_ADS_ENABLED</key>
24+
<false></false>
25+
<key>IS_ANALYTICS_ENABLED</key>
26+
<false></false>
27+
<key>IS_APPINVITE_ENABLED</key>
28+
<true></true>
29+
<key>IS_GCM_ENABLED</key>
30+
<true></true>
31+
<key>IS_SIGNIN_ENABLED</key>
32+
<true></true>
33+
<key>GOOGLE_APP_ID</key>
34+
<string>1:758124052811:ios:2dd4583dd48a59843c68ce</string>
35+
</dict>
36+
</plist>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp