Closed guibulator closed 4 years ago
Capacitor
platform is not supported at this time.
Ok sorry, I had the impression it was supported only for Android and not IOS. I'll start with the v3 API for now. Thanks for your quick response.
In order to support Capacitor (especially iOS), I need to make a big change internal code of the maps plugin, but I have no enough time to work around that.
Sorry about that.
I made a fundraising to implement the code for supporting Capacitor iOS. Please join and support the project!
I'm submitting a ...
If you choose 'problem or bug report', please select OS: (check one with "x")
cordova information: (run
$> cordova plugin list
)I'm using these versions
"@capacitor/core": "2.0.1", "@ionic-native/core": "^5.24.0", "@ionic-native/google-maps": "^5.5.0"
Current behavior:
I have setup a project using ionic + capacitor and set it up to work also with cordova integration since I want to use the native google map sdk for android. When I try to build the project, I always get errors with missing packages from ANDROID_SUPPORT_V4_VERSION (PermissionChecker, NonNull, annotation). I tried a lot of different things but nothing seems to work. I did try to setup the example using cordova HelloMap project and it works both with
cordova run android
or if I build it using Android Studio. The same cordova-plugin-googlemaps is used in both projects. It looks like a Gradle build sequence isssue. I do see the output from the build mentionning the preferences & ANDROID_SUPPORT and looks like it's successful. Much of the example I see on the web are not related to capacitor + cordova integration.Expected behavior:
Being able to build and deploy on my android phone.
Screen capture or video record:
![image](https://user-images.githubusercontent.com/5513740/80626795-fb6a8180-8a1c-11ea-9a92-66847b27d97d.png)
Related code, data or error log (please format your code or data):
gradle build --scan
-> Gradle scanThanks for your time!