plugin.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
  3. id="cordova-plugin-remote-injection" version="0.5.2">
  4. <name>Remote Injection</name>
  5. <description>Injects Cordova into a remote site.</description>
  6. <license>Apache 2.0</license>
  7. <keywords>cordova,remote,injection</keywords>
  8. <author>Brad Reynolds</author>
  9. <platform name="ios">
  10. <framework src="WebKit.framework" weak="true" />
  11. <config-file target="config.xml" parent="/*">
  12. <feature name="RemoteInjection">
  13. <param name="ios-package" value="CDVRemoteInjectionPlugin" />
  14. <param name="onload" value="true" />
  15. </feature>
  16. </config-file>
  17. <header-file src="src/ios/CDVRemoteInjection.h" />
  18. <source-file src="src/ios/CDVRemoteInjection.m" />
  19. <header-file src="src/ios/CDVRemoteInjectionWebViewBaseDelegate.h" />
  20. <source-file src="src/ios/CDVRemoteInjectionWebViewBaseDelegate.m" />
  21. <header-file src="src/ios/CDVRemoteInjectionUIWebViewDelegate.h" />
  22. <source-file src="src/ios/CDVRemoteInjectionUIWebViewDelegate.m" />
  23. <header-file src="src/ios/CDVRemoteInjectionWKWebViewDelegate.h" />
  24. <source-file src="src/ios/CDVRemoteInjectionWKWebViewDelegate.m" />
  25. </platform>
  26. <platform name="android">
  27. <config-file target="config.xml" parent="/*">
  28. <feature name="RemoteInjection">
  29. <param name="android-package" value="com.truckmovers.cordova.RemoteInjectionPlugin" />
  30. <param name="onload" value="true" />
  31. </feature>
  32. </config-file>
  33. <source-file src="src/android/RemoteInjectionPlugin.java" target-dir="src/com/truckmovers/cordova" />
  34. </platform>
  35. </plugin>