Skip to content
This repository was archived by the owner on Apr 22, 2018. It is now read-only.

Commit 3b6a71e

Browse files
committed
updating plugin.xml to work with latest cordova
1 parent 6c16cc2 commit 3b6a71e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

plugin.xml

+5-4
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@
2828
android:value="$API_KEY" />
2929
</config-file>
3030

31-
<config-file target="res/xml/config.xml" parent="/cordova/plugins">
32-
<plugin name="MapKit"
33-
value="com.phonegap.plugins.mapkit.MapKit"/>
31+
<config-file target="res/xml/config.xml" parent="/widget">
32+
<feature name="MapKit">
33+
<param name="android-package" value="com.phonegap.plugins.mapkit.MapKit"/>
34+
</feature>
3435
</config-file>
3536

3637
<source-file src="src/android/MapKit.java"
@@ -47,7 +48,7 @@ In order for this plugin to work you need to make sure to have
4748

4849
* Run `android update project -p . -t YOUR_ANDROID_TARGET -l ../YOUR_ADT_BUNDLE_PATH/sdk/extras/google/google_play_services/libproject/google-play-services_lib/` in your project root folder. HAS TO BE A RELATIVE PATH
4950

50-
In case everything miserably fails and you can't build your project, you might need to import it in ADT (Eclipse).
51+
In case everything miserably fails and you can't build your project, you might need to import it in ADT (Eclipse) or Android Studio (IntelliJ).
5152
</info>
5253
</platform>
5354
<!-- ios -->

0 commit comments

Comments
 (0)