You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
722 B

import '../../modules/login/controllers/weixinLogin.dart';
import 'package:firebase_core/firebase_core.dart';
import '/firebase_options.dart';
class LoginService {
LoginService() {
//微信
FlWX().register(
appSecret: '4cfde33bc22b6cc6b1f8b225dd97d255',
appId: 'wx5bbb7be9324f3e2d',
params: FlWXCallbackParams(onHttp: (url) async {
return '';
}));
if (Firebase.apps.isEmpty) {
Firebase.initializeApp(
name: 'DeepSound',
options: DefaultFirebaseOptions.currentPlatform,
//demoProjectId:'1:907754492821:android:2deffc5aa1037ae2145c9c'
).then((value) {
print('Firebase Initialized:${value.options}');
});
}
}
}