Skip to content

Commit

Permalink
Merge pull request #912 from EnsembleUI/fix/web
Browse files Browse the repository at this point in the history
fix: web build
  • Loading branch information
snehmehta authored Oct 27, 2023
2 parents 572f09f + 2e4796b commit 4c4a23a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/ensemble_app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,15 @@ class EnsembleAppState extends State<EnsembleApp> {
void initState() {
super.initState();
config = initApp();
if (Platform.isIOS) {
IOSDeepLinkManager().init();
} else {
DeepLinkManager().init();
}

// Initialize native features.
if (!kIsWeb) {
Workmanager().initialize(callbackDispatcher, isInDebugMode: false);
if (Platform.isIOS) {
IOSDeepLinkManager().init();
} else {
DeepLinkManager().init();
}
}
}

Expand Down

0 comments on commit 4c4a23a

Please sign in to comment.