-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why Google Maps Cordova ionic angular, only working in Android and blank in IOS? #322
Comments
Gray map means your API key problem (always) |
How can i do ? i've done everything with my api keys. Like enable Google maps for ios, set application restrict to ios, give budle id, and restrict the key. Is there anything i missed? |
Try to regenerate an API key, and do not set any restrictions for test |
And don't forget to do |
still with the issue, even i set back all restrict setting with new key. Issue still there. |
Ok, please share your project files on GitHub repository. I will check your code. |
Can i upload with Google Drive and sending the link through your email? |
I'm sorry, but please don't do that. I'm really busy person, that's why I check your code either from PC or my phone. For the reason, please use Git repository (I don't mind public or private) |
Hi @wf9a5m75 im so sorry for late reply, I've invite you to access my repo. Thanks for fast response. |
Thank you for sharing your code. I got an error. Xcode says |
I use version 4.2 |
Do you pay for your api keys ? |
I don't pay anything, but must be registered your credit card |
i have same issue here, both ios and android doesn't show the map, it just displays blank transparent page without google logo at all. |
@WaseemRakab |
@wf9a5m75
ts:
|
@wf9a5m75 |
Please share your project files on github repository. |
it's a private project, nvm i switched back to JavaScript api, as this plugin is broken for me |
You can share your private repo. I didn't ask you the repo must be public. Even if you don't, I recommend you try to use this plugin from a simple project. |
@wf9a5m75 |
@wf9a5m75 |
This plugin displays a map view under the browser view in Android and iOS. Thus, you cannot display a map in modal. |
@wf9a5m75 sorry, but i do not understand the reference by "under the browser", where could the map be rendered then? and how to actually make the map visible in the browser view in ionic capacitor project under angular environment? |
@wf9a5m75 you're not helping by sending this link.. |
Map is not rendered in |
As I suggested, you should try from a simple project. |
@wf9a5m75 |
I'm submitting a ... (check one with "x")
If you choose 'problem or bug report', please select OS: (check one with "x")
cordova information: (run
$> ionic cordova plugin list
)package.json information:
Current behavior:
Google Maps is blank but it shows Google logo, Everything normal in Android.
I have added this line in config.xml :
Also, i've enable Google Maps for IOS and restrict with my bundle id (com.xxxxx.hris) as well.
Here the restrict information :
Expected behavior:
It should be running fine like Android
Screen capture:
[Android]
[iOS]
The text was updated successfully, but these errors were encountered: