Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #3

Merged
merged 100 commits into from
Jul 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
502e09c
Background notifications
babayaga2002 Oct 14, 2022
204f880
Background notifications
babayaga2002 Oct 17, 2022
4260398
Notifications Settings
babayaga2002 Oct 17, 2022
248855e
Notifications Settings Next
babayaga2002 Oct 18, 2022
e6fcd00
Notifications Settings Removed
babayaga2002 Dec 7, 2022
92495ee
Merge remote-tracking branch 'origin/main' into new_notifs
vrrao01 Dec 7, 2022
83311a8
Merge with main
vrrao01 Dec 7, 2022
71ca654
Remove notification settings
vrrao01 Dec 7, 2022
b3a296b
Correct app bar
vrrao01 Dec 7, 2022
dffb1b1
Fix Notifications and App Bar
vrrao01 Dec 7, 2022
90f764f
App Bar colors
vrrao01 Dec 7, 2022
f0de64c
Correct README.md
vrrao01 Dec 7, 2022
832f76f
Restore README.md
vrrao01 Dec 7, 2022
61902d1
Reverse notification order
vrrao01 Dec 7, 2022
ed4ba8e
Dart analyze refactoring
vrrao01 Dec 7, 2022
765ece2
Add notification icon
vrrao01 Dec 8, 2022
c025de5
Merge branch 'main' into new_notifs
vrrao01 Dec 15, 2022
d018d27
Merge branch 'main' into notif
vrrao01 Jan 16, 2023
d00910a
Merge branch 'main' into notif
Hareesh-Nandigrama Mar 16, 2023
651bc26
Change Firebase project
Hareesh-Nandigrama Mar 16, 2023
3c39f1e
notif
GeekyPS Mar 20, 2023
99edb00
notif
GeekyPS Mar 21, 2023
1453b9d
notif
GeekyPS Mar 21, 2023
eb092d6
Merge branch 'main' into notif
vrrao01 Mar 24, 2023
75ff899
Add notification tile
vrrao01 Mar 24, 2023
bb9177b
Modify notification UI
vrrao01 Mar 25, 2023
ba1c1e4
Merge remote-tracking branch 'origin/notif' into notif
Hareesh-Nandigrama Apr 3, 2023
1fe1107
fixed ios errors
Hareesh-Nandigrama Apr 3, 2023
6f757af
fixed ios errors
Hareesh-Nandigrama Apr 3, 2023
dbb575c
Update pubsoec version
Hareesh-Nandigrama Apr 3, 2023
1f2512e
Badge on notification in appbar
vrrao01 Apr 5, 2023
2c4f94e
Merge remote-tracking branch 'origin/notif' into notif
vrrao01 Apr 5, 2023
02643c9
added timings
GeekyPS Apr 15, 2023
82e06c0
minor fix
GeekyPS Apr 15, 2023
48c1c3a
added local storage feature
GeekyPS Apr 15, 2023
a588776
Merge pull request #246 from vrrao01/timings
Kunalpal215 Apr 19, 2023
35f189e
added provision for sendToAll
GeekyPS Apr 22, 2023
70f5d03
Merge pull request #2 from swciitg/upsp
Hareesh-Nandigrama May 20, 2023
ada5d7d
Travel and Mess
Ashutosh-777 May 21, 2023
c2a02dc
minor
Ashutosh-777 May 21, 2023
eec3b0c
minor
Ashutosh-777 May 21, 2023
4bb0075
minor
Ashutosh-777 May 21, 2023
02e0fc2
minor
Ashutosh-777 May 21, 2023
48452c0
minor
Ashutosh-777 May 21, 2023
0c492a7
spell fix
Ashutosh-777 May 21, 2023
0e35f4c
minor change
Hareesh-Nandigrama May 23, 2023
06502fb
Merge remote-tracking branch 'origin/dev' into dev
Hareesh-Nandigrama May 23, 2023
9b48e39
corrected feedback endpoint
Hareesh-Nandigrama May 23, 2023
88673f8
profile
chanchalyadav272 May 23, 2023
2baeb8c
baseurl fix
Ashutosh-777 May 24, 2023
87b7154
baseurl
Ashutosh-777 May 24, 2023
bc988ee
profile pic and some minor changes
chanchalyadav272 May 24, 2023
45dc056
removed warning
chanchalyadav272 May 24, 2023
dbec95f
Merge branch 'dev' into profile
Hareesh-Nandigrama May 24, 2023
de5d3f0
Merge pull request #7 from chanchalyadav272/profile
Hareesh-Nandigrama May 24, 2023
b757cc7
Merge pull request #8 from swciitg/main
Hareesh-Nandigrama May 24, 2023
4dfc6cb
added bug report and logout in profile page
chanchalyadav272 May 24, 2023
ce9c7ce
migrated to dio and token auth
Kunalpal215 Jun 10, 2023
9064939
Merge remote-tracking branch 'upstream/notif' into dev
GeekyPS Jun 10, 2023
1db072c
minor bug fix
GeekyPS Jun 10, 2023
c807c75
Merge pull request #10 from GeekyPS/dev
Kunalpal215 Jun 11, 2023
fa72d97
added profile page
Kunalpal215 Jun 11, 2023
897424a
resolved merge conflicts
Kunalpal215 Jun 11, 2023
4e41be2
added notif setup
Kunalpal215 Jun 11, 2023
30ed5ce
completed notif setup
Kunalpal215 Jun 11, 2023
9a35603
profile model and edit profile
chanchalyadav272 Jun 12, 2023
3883025
minor fix
chanchalyadav272 Jun 12, 2023
e923a89
fixed dio issue in travel
Kunalpal215 Jun 12, 2023
575f88c
mess menu, text field counter
chanchalyadav272 Jun 12, 2023
8c1c521
update user info
chanchalyadav272 Jun 12, 2023
a3391f4
appbar on webview
chanchalyadav272 Jun 15, 2023
a7b94f5
changed routes for login
chanchalyadav272 Jun 15, 2023
7997527
minor fix
chanchalyadav272 Jun 19, 2023
c44e3dd
input formatter in custom text field
chanchalyadav272 Jun 26, 2023
7733d19
minor fix
chanchalyadav272 Jun 26, 2023
2c58971
upsp fix
chanchalyadav272 Jun 26, 2023
6a5988c
fixed guest issue
Kunalpal215 Jun 27, 2023
408c7e2
fixed session expired
Kunalpal215 Jun 27, 2023
a504611
fixed ui and null check issues
chanchalyadav272 Jun 27, 2023
a3e7fec
completed cab sharing
Kunalpal215 Jun 27, 2023
a056e01
Merge branch 'dev' of https://github.com/swciitg/onestop_flutter into…
Kunalpal215 Jun 27, 2023
090b12b
fixed all issues
Kunalpal215 Jun 28, 2023
68023e0
fixed overflow
chanchalyadav272 Jun 28, 2023
713bc1b
fixed feedback and tt api
chanchalyadav272 Jun 28, 2023
a0ffa0d
fixed time table
chanchalyadav272 Jun 28, 2023
305f98b
sem end date update
chanchalyadav272 Jun 28, 2023
17b3bb7
validator for roll number
chanchalyadav272 Jun 29, 2023
2e7fd51
updated timetable store
Hareesh-Nandigrama Jun 29, 2023
204f474
fixed timings in restraurent
Kunalpal215 Jun 30, 2023
580f863
Merge branch 'dev' of https://github.com/swciitg/onestop_flutter into…
Kunalpal215 Jun 30, 2023
1c9f49b
update details upsp
chanchalyadav272 Jun 30, 2023
3083d7c
fixed mess menu
chanchalyadav272 Jun 30, 2023
3993b9a
fixed restaurant seachbar
chanchalyadav272 Jun 30, 2023
bad1bec
fixed timetable update issue
chanchalyadav272 Jun 30, 2023
019016a
fixed update timing
chanchalyadav272 Jun 30, 2023
03228c6
data provider fro mess menu
chanchalyadav272 Jul 2, 2023
6356c6a
data provider for ferrry timings
chanchalyadav272 Jul 2, 2023
fb5d162
data provider for bus timing
chanchalyadav272 Jul 2, 2023
1906c3e
update version and build number
chanchalyadav272 Jul 2, 2023
6386cbf
removed gc scoreboard
chanchalyadav272 Jul 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ app.*.symbols
# Obfuscation related
app.*.map.json

# Keystore file path when building apk on windows
/android/app/onestop-keystore.jks

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
Expand Down
3 changes: 3 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ if (project.hasProperty('dart-defines')) {


apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

Expand Down Expand Up @@ -67,6 +68,7 @@ android {
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
manifestPlaceholders['GMAP_KEY'] = dartEnvironmentVariables.GMAP_KEY
multiDexEnabled true
}

signingConfigs {
Expand All @@ -90,5 +92,6 @@ flutter {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "com.android.support:multidex:1.0.3"
}

46 changes: 46 additions & 0 deletions android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"project_info": {
"project_number": "755380116666",
"project_id": "onestopiitg-2",
"storage_bucket": "onestopiitg-2.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:755380116666:android:93baf948818388bfe2f683",
"android_client_info": {
"package_name": "com.swciitg.onestop2"
}
},
"oauth_client": [
{
"client_id": "755380116666-8eqlpn3rnrp3j4v1unhonm6qldqhek2c.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyBsoG-Xp8P2FGth4pE38cUyT2ljSjrAfLE"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "755380116666-8eqlpn3rnrp3j4v1unhonm6qldqhek2c.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "755380116666-7glnointr5aktgrk2rvsonjlfjvuoqpq.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.example.testNotification"
}
}
]
}
}
}
],
"configuration_version": "1"
}
18 changes: 17 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
android:windowSoftInputMode="adjustResize"
android:showWhenLocked="true"
android:turnScreenOn="true">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
Expand All @@ -29,15 +31,29 @@
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="FLUTTER_NOTIFICATION_CLICK"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>

</activity>
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_stat_notification_icon" />
<meta-data
android:name="com.google.firebase.messaging.default_notification_color"
android:resource="@color/colorPrimary" />
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data android:name="com.google.android.geo.API_KEY"
android:value="${GMAP_KEY}"/>
<meta-data
android:name="flutterEmbedding"
android:value="2" />
<!-- <service-->
<!-- android:name="com.swciitg.onestop2.ForegroundService"-->
<!-- android:exported="false"-->
<!-- android:stopWithTask="false"/>-->
</application>
<queries>
<intent>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<color name="ic_launcher_background">#001B3E</color>
<color name="colorPrimary">#76ACFF</color>
</resources>
6 changes: 4 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
buildscript {
ext.kotlin_version = '1.6.10'
ext.kotlin_version = '1.8.22'

repositories {
google()
mavenCentral()
Expand All @@ -8,6 +9,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.13'
}
}

Expand All @@ -26,6 +28,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
Binary file added assets/images/profile_placeholder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
797FFB145D937626B7EA4ADA /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 9822E429D96AFE0F8D730785 /* GoogleService-Info.plist */; };
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
Expand Down Expand Up @@ -46,7 +47,9 @@
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
9822E429D96AFE0F8D730785 /* GoogleService-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = "GoogleService-Info.plist"; path = "Runner/GoogleService-Info.plist"; sourceTree = "<group>"; };
C05463DD6012FC0ED5AB6BC0 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
D800439E29DB5F970022C839 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -98,6 +101,7 @@
97C146EF1CF9000F007C117D /* Products */,
94BCE952F797F377FEC6B694 /* Pods */,
550921A1AB19070431638329 /* Frameworks */,
9822E429D96AFE0F8D730785 /* GoogleService-Info.plist */,
);
sourceTree = "<group>";
};
Expand All @@ -112,6 +116,7 @@
97C146F01CF9000F007C117D /* Runner */ = {
isa = PBXGroup;
children = (
D800439E29DB5F970022C839 /* Runner.entitlements */,
97C146FA1CF9000F007C117D /* Main.storyboard */,
97C146FD1CF9000F007C117D /* Assets.xcassets */,
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
Expand Down Expand Up @@ -192,6 +197,7 @@
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
797FFB145D937626B7EA4ADA /* GoogleService-Info.plist in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -222,6 +228,7 @@
files = (
);
inputPaths = (
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
);
name = "Thin Binary";
outputPaths = (
Expand Down Expand Up @@ -374,6 +381,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
Expand Down Expand Up @@ -506,6 +514,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
Expand All @@ -532,6 +541,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
Expand Down
8 changes: 8 additions & 0 deletions ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
import UIKit
import Flutter
import GoogleMaps
import flutter_local_notifications


@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
if #available(iOS 10.0, *) {
UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
}
FlutterLocalNotificationsPlugin.setPluginRegistrantCallback { (registry) in
GeneratedPluginRegistrant.register(with: registry)
}
let dartDefinesString = Bundle.main.infoDictionary!["DART_DEFINES"] as! String
var dartDefinesDictionary = [String:String]()
for definedValue in dartDefinesString.components(separatedBy: ",") {
Expand Down
34 changes: 34 additions & 0 deletions ios/Runner/GoogleService-Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?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>CLIENT_ID</key>
<string>755380116666-if5jvrpuk5hja4qtlqoaa5eil2nlhmaa.apps.googleusercontent.com</string>
<key>REVERSED_CLIENT_ID</key>
<string>com.googleusercontent.apps.755380116666-if5jvrpuk5hja4qtlqoaa5eil2nlhmaa</string>
<key>API_KEY</key>
<string>AIzaSyDwfpfZYu7h93Ze4XfU00EdYA-b2Tr39Kk</string>
<key>GCM_SENDER_ID</key>
<string>755380116666</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>com.swciitg.onestop2swc2022</string>
<key>PROJECT_ID</key>
<string>onestopiitg-2</string>
<key>STORAGE_BUCKET</key>
<string>onestopiitg-2.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
<false></false>
<key>IS_APPINVITE_ENABLED</key>
<true></true>
<key>IS_GCM_ENABLED</key>
<true></true>
<key>IS_SIGNIN_ENABLED</key>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:755380116666:ios:2fde1264d6300380e2f683</string>
</dict>
</plist>
9 changes: 7 additions & 2 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@
<string>This app needs access to location to show you the nearest bus stops, ferry ghats, restaurants etc.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>This app requires Photo Library access for Lost/Found or Buy/Sell images</string>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIBackgroundModes</key>
<array>
<string>fetch</string>
<string>remote-notification</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
Expand All @@ -77,7 +84,5 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
</dict>
</plist>
8 changes: 8 additions & 0 deletions ios/Runner/Runner.entitlements
Original file line number Diff line number Diff line change
@@ -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>
7 changes: 7 additions & 0 deletions ios/firebase_app_id_file.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"file_generated_by": "FlutterFire CLI",
"purpose": "FirebaseAppID & ProjectID for this Firebase app in this directory",
"GOOGLE_APP_ID": "1:755380116666:ios:2fde1264d6300380e2f683",
"FIREBASE_PROJECT_ID": "onestopiitg-2",
"GCM_SENDER_ID": "755380116666"
}
69 changes: 69 additions & 0 deletions lib/firebase_options.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
// File generated by FlutterFire CLI.
// ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
import 'package:flutter/foundation.dart'
show defaultTargetPlatform, kIsWeb, TargetPlatform;

/// Default [FirebaseOptions] for use with your Firebase apps.
///
/// Example:
/// ```dart
/// import 'firebase_options.dart';
/// // ...
/// await Firebase.initializeApp(
/// options: DefaultFirebaseOptions.currentPlatform,
/// );
/// ```
class DefaultFirebaseOptions {
static FirebaseOptions get currentPlatform {
if (kIsWeb) {
throw UnsupportedError(
'DefaultFirebaseOptions have not been configured for web - '
'you can reconfigure this by running the FlutterFire CLI again.',
);
}
switch (defaultTargetPlatform) {
case TargetPlatform.android:
return android;
case TargetPlatform.iOS:
return ios;
case TargetPlatform.macOS:
throw UnsupportedError(
'DefaultFirebaseOptions have not been configured for macos - '
'you can reconfigure this by running the FlutterFire CLI again.',
);
case TargetPlatform.windows:
throw UnsupportedError(
'DefaultFirebaseOptions have not been configured for windows - '
'you can reconfigure this by running the FlutterFire CLI again.',
);
case TargetPlatform.linux:
throw UnsupportedError(
'DefaultFirebaseOptions have not been configured for linux - '
'you can reconfigure this by running the FlutterFire CLI again.',
);
default:
throw UnsupportedError(
'DefaultFirebaseOptions are not supported for this platform.',
);
}
}

static const FirebaseOptions android = FirebaseOptions(
apiKey: 'AIzaSyBsoG-Xp8P2FGth4pE38cUyT2ljSjrAfLE',
appId: '1:755380116666:android:93baf948818388bfe2f683',
messagingSenderId: '755380116666',
projectId: 'onestopiitg-2',
storageBucket: 'onestopiitg-2.appspot.com',
);

static const FirebaseOptions ios = FirebaseOptions(
apiKey: 'AIzaSyDwfpfZYu7h93Ze4XfU00EdYA-b2Tr39Kk',
appId: '1:755380116666:ios:2fde1264d6300380e2f683',
messagingSenderId: '755380116666',
projectId: 'onestopiitg-2',
storageBucket: 'onestopiitg-2.appspot.com',
iosClientId: '755380116666-if5jvrpuk5hja4qtlqoaa5eil2nlhmaa.apps.googleusercontent.com',
iosBundleId: 'com.swciitg.onestop2swc2022',
);
}
Loading