Skip to content

Commit

Permalink
Merge pull request #347 from ConnectyCube/feature/facebook_auth
Browse files Browse the repository at this point in the history
Facebook auth
  • Loading branch information
TatankaConCube authored Mar 12, 2024
2 parents 6e41f82 + 16589e5 commit fa099dc
Show file tree
Hide file tree
Showing 32 changed files with 61,062 additions and 60,472 deletions.
25 changes: 19 additions & 6 deletions chat_sample/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
android:largeHeap="true">
<activity
android:name=".MainActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:exported="true"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:windowSoftInputMode="adjustResize">
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
Expand All @@ -45,5 +45,18 @@
<meta-data
android:name="com.google.firebase.messaging.default_notification_color"
android:resource="@color/notification_accent_color" />

<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id" />
<meta-data

android:name="com.facebook.sdk.ClientToken"
android:value="@string/facebook_client_token" />

</application>

<queries>
<provider android:authorities="com.facebook.katana.provider.PlatformProvider" />
</queries>
</manifest>
6 changes: 6 additions & 0 deletions chat_sample/android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="facebook_app_id">786550356345266</string>
<string name="fb_login_protocol_scheme">fb786550356345266</string>
<string name="facebook_client_token">85257b1c8796e12ca3539373237c404c</string>
</resources>
110 changes: 110 additions & 0 deletions chat_sample/build/web/assets/NOTICES
Original file line number Diff line number Diff line change
Expand Up @@ -7383,6 +7383,30 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
facebook_auth_desktop

MIT License

Copyright (c) 2022 DARWIN MOROCHO ROCHA

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
fallback_root_certificates

Mozilla Public License Version 2.0
Expand Down Expand Up @@ -8311,6 +8335,55 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

--------------------------------------------------------------------------------
flutter_facebook_auth

MIT License

Copyright (c) 2019 DARWIN MOROCHO ROCHA

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
flutter_facebook_auth_platform_interface
flutter_facebook_auth_web

MIT License

Copyright (c) 2020 DARWIN MOROCHO ROCHA

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
flutter_image_compress
flutter_image_compress_common
Expand Down Expand Up @@ -8402,6 +8475,43 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
flutter_secure_storage
flutter_secure_storage_linux
flutter_secure_storage_macos
flutter_secure_storage_platform_interface
flutter_secure_storage_web
flutter_secure_storage_windows

BSD 3-Clause License

Copyright 2017 German Saprykin
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
flutter_svg

Copyright (c) 2018 Dan Field
Expand Down
8 changes: 4 additions & 4 deletions chat_sample/build/web/flutter_service_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ const TEMP = 'flutter-temp-cache';
const CACHE_NAME = 'flutter-app-cache';

const RESOURCES = {"version.json": "c66ef7772c9af823b1216a3864bb639a",
"index.html": "86fc8dec4e9faf648007a4fee11b2fd3",
"/": "86fc8dec4e9faf648007a4fee11b2fd3",
"index.html": "d6b5298bdc1e8595ecbf818340f36097",
"/": "d6b5298bdc1e8595ecbf818340f36097",
"firebase-messaging-sw.js": "a43f2eac8588b877b1194cb36242cbae",
"main.dart.js": "0c7f31c5df794efd86724fad22d12b70",
"main.dart.js": "7b69c2178e167495c620613ff3ecd993",
"flutter.js": "c71a09214cb6f5f8996a531350400a9a",
"icons/favicon-16x16.png": "1fcc687e538a1fa2310543ea74432dd7",
"icons/favicon.ico": "33df157f932cc0af7754871debe8e8c2",
Expand All @@ -16,7 +16,7 @@ const RESOURCES = {"version.json": "c66ef7772c9af823b1216a3864bb639a",
"icons/favicon-32x32.png": "b664008f33a310f05ef871d037f27da0",
"manifest.json": "354bec2e18572e000457749fdce63207",
"assets/AssetManifest.json": "ca67c774c556fcd124bac6bdb62a79f5",
"assets/NOTICES": "6facdb020cce262825a3b841cd019a23",
"assets/NOTICES": "9e9a49c6a5139a6a5f30a348fd2d0699",
"assets/FontManifest.json": "95766328e0d804735e9b8436b62cb8ad",
"assets/AssetManifest.bin.json": "6acb8f7f5572e4aa9d9b1f533751ec07",
"assets/packages/flutter_image_compress_web/assets/pica.min.js": "6208ed6419908c4b04382adc8a3053a2",
Expand Down
2 changes: 1 addition & 1 deletion chat_sample/build/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
https://developers.google.com/web/fundamentals/primers/service-workers -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/pica.min.js" ></script>
<script>
const serviceWorkerVersion = "2694547771";
const serviceWorkerVersion = "361586620";
var scriptLoaded = false;
function loadMainDartJs() {
if (scriptLoaded) {
Expand Down
Loading

0 comments on commit fa099dc

Please sign in to comment.