|
|
@ -67,7 +67,6 @@ import 'mine/manage_address_page.dart'; |
|
|
|
import 'mine/roll_center_page.dart'; |
|
|
|
import 'mine/roll_center_page.dart'; |
|
|
|
|
|
|
|
|
|
|
|
void main() async { |
|
|
|
void main() async { |
|
|
|
|
|
|
|
|
|
|
|
if (Platform.isAndroid) { |
|
|
|
if (Platform.isAndroid) { |
|
|
|
SystemChrome.setSystemUIOverlayStyle( |
|
|
|
SystemChrome.setSystemUIOverlayStyle( |
|
|
|
SystemUiOverlayStyle(statusBarColor: Colors.transparent)); |
|
|
|
SystemUiOverlayStyle(statusBarColor: Colors.transparent)); |
|
|
@ -116,14 +115,13 @@ initSdk() async { |
|
|
|
"523308712059457", "d3a1b6377100871799d8973fbe84794a", "回乡"); |
|
|
|
"523308712059457", "d3a1b6377100871799d8973fbe84794a", "回乡"); |
|
|
|
SharesdkPlugin.regist(shareSDKRegister); |
|
|
|
SharesdkPlugin.regist(shareSDKRegister); |
|
|
|
|
|
|
|
|
|
|
|
if(Platform.isIOS){ |
|
|
|
if (Platform.isIOS) { |
|
|
|
LocationFlutterPlugin.setApiKey("ylW2QPlsbERkho7jOgU4GQSeawmdUIoR"); |
|
|
|
LocationFlutterPlugin.setApiKey("ylW2QPlsbERkho7jOgU4GQSeawmdUIoR"); |
|
|
|
BMFMapSDK.setApiKeyAndCoordType( |
|
|
|
BMFMapSDK.setApiKeyAndCoordType( |
|
|
|
'ylW2QPlsbERkho7jOgU4GQSeawmdUIoR', BMF_COORD_TYPE.COMMON); |
|
|
|
'ylW2QPlsbERkho7jOgU4GQSeawmdUIoR', BMF_COORD_TYPE.COMMON); |
|
|
|
} else if(Platform.isAndroid) { |
|
|
|
} else if (Platform.isAndroid) { |
|
|
|
BMFMapSDK.setCoordType(BMF_COORD_TYPE.COMMON); |
|
|
|
BMFMapSDK.setCoordType(BMF_COORD_TYPE.COMMON); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
EventBus eventBus = EventBus(sync: true); |
|
|
|
EventBus eventBus = EventBus(sync: true); |
|
|
|