-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy pathconfig.dart
More file actions
28 lines (22 loc) · 1.23 KB
/
config.dart
File metadata and controls
28 lines (22 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// ignore_for_file: constant_identifier_names, non_constant_identifier_names
import 'package:flutter/foundation.dart';
String get GOOGLE_CLIENT_ID {
if (defaultTargetPlatform == TargetPlatform.macOS) {
return '406099696497-65v1b9ffv6sgfqngfjab5ol5qdikh2rm.apps.googleusercontent.com';
} else if (defaultTargetPlatform == TargetPlatform.iOS) {
return '406099696497-65v1b9ffv6sgfqngfjab5ol5qdikh2rm.apps.googleusercontent.com';
} else if (defaultTargetPlatform == TargetPlatform.windows) {
return '406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com';
} else {
return '448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com';
}
}
const GOOGLE_REDIRECT_URI =
'https://react-native-firebase-testing.firebaseapp.com/__/auth/handler';
const TWITTER_API_KEY = String.fromEnvironment('TWITTER_API_KEY');
const TWITTER_API_SECRET_KEY = String.fromEnvironment('TWITTER_API_SECRET_KEY');
const TWITTER_REDIRECT_URI = 'ffire://';
const FACEBOOK_CLIENT_ID = '128693022464535';