Skip to content

Commit 8c6eabb

Browse files
committed
- Updated Runner.xcodeproj to use environment variables for Facebook App ID and Client Token.
- Modified Info.plist to reference Facebook App ID and Client Token using environment variables. - Updated flutter_local_notifications dependency from version 19.1.0 to 19.2.0 in pubspec.yaml and pubspec.lock. - Updated project version from 2.5.1 to 2.5.2 in pubspec.yaml.
1 parent c5a78a2 commit 8c6eabb

File tree

8 files changed

+723
-711
lines changed

8 files changed

+723
-711
lines changed

coverage/lcov.info

Lines changed: 707 additions & 704 deletions
Large diffs are not rendered by default.

ios/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ Runner/GoogleService-Info.plist
3232
!default.mode2v3
3333
!default.pbxuser
3434
!default.perspectivev3
35+
Secrets.xcconfig

ios/Flutter/Debug.xcconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
22
#include "Generated.xcconfig"
3+
#include "Secrets.xcconfig"

ios/Flutter/Release.xcconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
22
#include "Generated.xcconfig"
3+
#include "Secrets.xcconfig"

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,8 @@
498498
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
499499
DEVELOPMENT_TEAM = "";
500500
ENABLE_BITCODE = NO;
501+
FACEBOOK_APP_ID = "$(FACEBOOK_APP_ID)";
502+
FACEBOOK_CLIENT_TOKEN = "$(FACEBOOK_CLIENT_TOKEN)";
501503
INFOPLIST_FILE = Runner/Info.plist;
502504
INFOPLIST_KEY_CFBundleDisplayName = Bookify;
503505
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
@@ -692,6 +694,8 @@
692694
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
693695
DEVELOPMENT_TEAM = "";
694696
ENABLE_BITCODE = NO;
697+
FACEBOOK_APP_ID = "$(FACEBOOK_APP_ID)";
698+
FACEBOOK_CLIENT_TOKEN = "$(FACEBOOK_CLIENT_TOKEN)";
695699
INFOPLIST_FILE = Runner/Info.plist;
696700
INFOPLIST_KEY_CFBundleDisplayName = Bookify;
697701
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
@@ -724,6 +728,8 @@
724728
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
725729
DEVELOPMENT_TEAM = "";
726730
ENABLE_BITCODE = NO;
731+
FACEBOOK_APP_ID = "$(FACEBOOK_APP_ID)";
732+
FACEBOOK_CLIENT_TOKEN = "$(FACEBOOK_CLIENT_TOKEN)";
727733
INFOPLIST_FILE = Runner/Info.plist;
728734
INFOPLIST_KEY_CFBundleDisplayName = Bookify;
729735
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";

ios/Runner/Info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<dict>
2828
<key>CFBundleURLSchemes</key>
2929
<array>
30-
<string>fb653673550256884</string>
30+
<string>fb$(FACEBOOK_APP_ID)</string>
3131
</array>
3232
</dict>
3333
</array>
@@ -36,11 +36,11 @@
3636
<key>FacebookAdvertiserIDCollectionEnabled</key>
3737
<string>TRUE</string>
3838
<key>FacebookAppID</key>
39-
<string>653673550256884</string>
39+
<string>$(FACEBOOK_APP_ID)</string>
4040
<key>FacebookAutoLogAppEventsEnabled</key>
4141
<string>TRUE</string>
4242
<key>FacebookClientToken</key>
43-
<string>77b55d0db20ca558ad7dc2925e90a0cc</string>
43+
<string>$(FACEBOOK_CLIENT_TOKEN)</string>
4444
<key>FacebookDisplayName</key>
4545
<string>Bookify</string>
4646
<key>LSApplicationQueriesSchemes</key>

pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,10 +439,10 @@ packages:
439439
dependency: "direct main"
440440
description:
441441
name: flutter_local_notifications
442-
sha256: "33b3e0269ae9d51669957a923f2376bee96299b09915d856395af8c4238aebfa"
442+
sha256: ebc86e2ff6a9ca5bc1943e675fef02b5ddaa1a99b4ef980cac576fcfc65959aa
443443
url: "https://pub.dev"
444444
source: hosted
445-
version: "19.1.0"
445+
version: "19.2.0"
446446
flutter_local_notifications_linux:
447447
dependency: transitive
448448
description:

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: A Flutter project that helps you search for books, add them to your
33

44
publish_to: "none"
55

6-
version: 2.5.1
6+
version: 2.5.2
77

88
environment:
99
sdk: ">=3.0.2 <4.0.0"
@@ -33,7 +33,7 @@ dependencies:
3333
wakelock_plus: ^1.3.2 # Used for keep the screen awake when timer is started.
3434
permission_handler: ^12.0.0 # Used to get permission for contacts.
3535
fast_contacts: ^4.0.0 # Used to get Phone Contacts.
36-
flutter_local_notifications: ^19.1.0 # Used for send notifications.
36+
flutter_local_notifications: ^19.2.0 # Used for send notifications.
3737
flutter_timezone: ^4.1.0 # Used for get local timezone.
3838
timezone: ^0.10.1 # Used for get timezone for schedule notification.
3939
intl: ^0.19.0 # Used for set a format to DateTime.

0 commit comments

Comments
 (0)