NEW: Add Test Device to main dev
This commit is contained in:
parent
081e7d5533
commit
ef479b633d
1 changed files with 9 additions and 1 deletions
|
|
@ -20,6 +20,12 @@ void main() async {
|
||||||
apiBasePath: "/auth",
|
apiBasePath: "/auth",
|
||||||
);
|
);
|
||||||
if (!kIsWeb) {
|
if (!kIsWeb) {
|
||||||
|
const List<String> testDeviceIds = ['733d4c68-9b54-453a-9622-2df407310f40'];
|
||||||
|
MobileAds.instance.updateRequestConfiguration(
|
||||||
|
RequestConfiguration(
|
||||||
|
testDeviceIds: testDeviceIds,
|
||||||
|
),
|
||||||
|
);
|
||||||
MobileAds.instance.initialize();
|
MobileAds.instance.initialize();
|
||||||
} else {
|
} else {
|
||||||
usePathUrlStrategy();
|
usePathUrlStrategy();
|
||||||
|
|
@ -29,5 +35,7 @@ void main() async {
|
||||||
});
|
});
|
||||||
final GoRouter appRouter = MihGoRouter().mihRouter;
|
final GoRouter appRouter = MihGoRouter().mihRouter;
|
||||||
FlutterNativeSplash.remove();
|
FlutterNativeSplash.remove();
|
||||||
runApp(MzansiInnovationHub(router: appRouter,));
|
runApp(MzansiInnovationHub(
|
||||||
|
router: appRouter,
|
||||||
|
));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue