forked from polkawallet-io/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main-google.dart
53 lines (50 loc) · 1.82 KB
/
main-google.dart
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import 'package:app/app.dart';
import 'package:app/common/consts.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
// import 'package:flutter_bugly_play/flutter_bugly.dart';
import 'package:get_storage/get_storage.dart';
import 'package:polkawallet_plugin_acala/polkawallet_plugin_acala.dart';
import 'package:polkawallet_plugin_bifrost/polkawallet_plugin_bifrost.dart';
import 'package:polkawallet_plugin_chainx/polkawallet_plugin_chainx.dart';
import 'package:polkawallet_plugin_dbc/polkawallet_plugin_dbc.dart';
import 'package:polkawallet_plugin_edgeware/polkawallet_plugin_edgeware.dart';
import 'package:polkawallet_plugin_karura/polkawallet_plugin_karura.dart';
import 'package:polkawallet_plugin_kusama/polkawallet_plugin_kusama.dart';
import 'package:polkawallet_plugin_robonomics/polkawallet_plugin_robonomics.dart';
import 'package:polkawallet_plugin_statemine/polkawallet_plugin_statemine.dart';
void main() async {
// FlutterBugly.postCatchedException(() async {
WidgetsFlutterBinding.ensureInitialized();
await SystemChrome.setPreferredOrientations([
DeviceOrientation.portraitUp,
]);
await GetStorage.init(get_storage_container);
await Firebase.initializeApp();
final plugins = [
PluginKusama(name: 'polkadot'),
PluginKusama(),
PluginAcala(),
PluginKarura(),
PluginStatemine(),
PluginBifrost(),
PluginChainX(),
PluginEdgeware(),
// PluginLaminar(),
PluginDBC(),
PluginRobonomics(),
];
runApp(WalletApp(
plugins,
[
// PluginDisabled(
// 'chainx', Image.asset('assets/images/public/chainx_gray.png'))
],
BuildTargets.playStore));
// FlutterBugly.init(
// androidAppId: "64c2d01918",
// iOSAppId: "3803dd717e",
// );
// });
}