mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-22 23:10:56 +00:00
android update,open and close service
This commit is contained in:
1 parent
2e73f29ce9
commit
1af3f3f28d
10 files changed
+1032
-343
No files matched your search
@@ -1,19 +1,26 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_hbb/server_page.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:firebase_analytics/firebase_analytics.dart';
|
||||
import 'package:firebase_analytics/observer.dart';
|
||||
import 'package:firebase_core/firebase_core.dart';
|
||||
import 'common.dart';
|
||||
import 'model.dart';
|
||||
import 'home_page.dart';
|
||||
|
||||
const toAndroidChannel = MethodChannel("mChannel");
|
||||
BuildContext nowCtx;
|
||||
|
||||
Future<Null> main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
await Firebase.initializeApp();
|
||||
toAndroidChannelInit();
|
||||
runApp(App());
|
||||
}
|
||||
|
||||
class App extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final analytics = FirebaseAnalytics();
|
||||
|
||||
Reference in new issue
Block a user