title: Onesignal Wordpress Flutter not opening in App
body: <p>I'm using onesignal_flutter: #^3.2.3
  git:
  url: <a href="https://github.com/luis901101/OneSignal-Flutter-SDK.git" rel="nofollow noreferrer">https://github.com/luis901101/OneSignal-Flutter-SDK.git</a>
  ref: migrate_android_embedding_v2
  and I receive notifications, but clicking does not open the app on my home page, but directs me to the wordpress site.</p>
  <pre><code>Future&lt;void&gt; initPlatformState() async {
  OneSignal.shared.setAppId(oneSignalAppId);`enter code here`
  
  OneSignal.shared.setLogLevel(OSLogLevel.verbose, OSLogLevel.none);
  
  OneSignal.shared.promptUserForPushNotificationPermission().then((accepted) {
    print(&quot;Accepted permission: $accepted&quot;);
  });
  
  OneSignal.shared.setNotificationWillShowInForegroundHandler(
      (OSNotificationReceivedEvent event) {
    // Will be called whenever a notification is received in foreground
    // Display Notification, pass null param for not displaying the notification
    event.complete(event.notification);
  });
  
  OneSignal.shared
      .setNotificationOpenedHandler((OSNotificationOpenedResult result) {
    globals.appNavigator!.currentState!.push(
      MaterialPageRoute(builder: (context) =&gt; MyHomePage()),
    );
  });
  
  OneSignal.shared
      .setSubscriptionObserver((OSSubscriptionStateChanges changes) {
    print(&quot;SUBSCRIPTION STATE CHANGED: ${changes.jsonRepresentation()}&quot;);
  });
  
  OneSignal.shared.setPermissionObserver((OSPermissionStateChanges changes) {
    print(&quot;PERMISSION STATE CHANGED: ${changes.jsonRepresentation()}&quot;);
  });
  
  OneSignal.shared.consentGranted(true);
  
  print(&quot;Setting state&quot;);
  }
  
  @override
  void initState() {
  // TODO: implement initState
  super.initState();
  initPlatformState();
  }
  </code></pre>
  <p>Run app</p>
  <pre><code>V/OneSignal(18566): No class found, not setting up 
  OSRemoteNotificationReceivedHandler
  I/OneSignal(18566): Location permissions not added on AndroidManifest 
  file
  I/flutter (18566): Accepted permission: false
  D/OneSignal(18566): UserStateSynchronizer internalSyncUserState from 
  session call: false jsonBody: null
  </code></pre>