[Solved]WKWEBVIEW google maps javascript V3


#1

Hi all,
I am trying to render a map with javascript library in my application, it was all working fine untill Apple decided a launch a mobile with a notch so to support the new UI changes I am forced to use WKWEBVIEW. And here I am stuck with a blank page in my app in place of google map! I even checked ionic-native/google-maps and it loads in wkwebview, but it doesn’t have some of the functionality which is provided by javascript API.

Can anyone help me out here?

My Ionic info goes like this.

$ ionic info

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 7.1.0 

local packages:

    @ionic/app-scripts : 3.1.8
    Cordova Platforms  : android 6.3.0 ios 4.5.4
    Ionic Framework    : ionic-angular 3.9.2

System:

    ios-deploy : 1.9.2 
    ios-sim    : 6.1.2 
    Node       : v9.3.0
    npm        : 5.5.1 
    OS         : macOS High Sierra
    Xcode      : Xcode 9.3 Build version 9E145 

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro

I am all good with CORS related issues with WKWEBVIEW.


#2

I am able to render map now, closing this issue!