L.TileLayer.Cordova
L.TileLayer.Cordova copied to clipboard
plugin.xml file is missing
Not able to generate app after adding the this plugin in our project. I am using Outsystems ide (service studio) for integration. What i can find out is plugin.xml file is missing. I am new to mobile development so learning how i can create its plugin.xml, but if you can help me out by adding the same here, will be great.
I also tried to use the L.TileLayer.Cordova.js file directly in project and added all dependency like file, file transfer and cordova console plugin. then i was able to load and save tile properly on device in online mode but not able to load tile in offline mode
Could you give this a try as plugin.xml
and let me know whether it works for you?
<?xml version='1.0' encoding='utf-8'?>
<plugin id="leaflet-tilelayer-cordova" version="1.2.3" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>L.TileLayer.Cordova</name>
<description>Leaflet TileLayer subclass which caches to local filesystem, for Cordova/Phonegap</description>
<license>MIT</license>
<keywords>cordova,leaflet,tilelayer,map tiles,cache</keywords>
<author>https://github.com/gregallensworth</author>
<js-module name="leaflet-tilelayer-cordova" src="src/leaflet-tilelayer-cordova.js">
</js-module>
</plugin>
I haven't been doing mobile development lately and my system isn't set up for it, so it could be some time before I have an opportunity to try it myself, and update the whole package to newer APIs and versions.
I tried to use this but nothing changed, still getting the same errors below is the my fork url where i have made changes. https://github.com/preetikumarigithub/Outsystems.git
In your screenshot above, I didn't see a clear indication of a plugin.xml issue. If the issue were that your IDE requires plugin.xml, I would expect that Outsystems would refuse to integrate the plugin. I haven't used Outystems before,
The errors in your screenshot looked to be about device permissions, or perhaps the path name. Can you double-check that those paths are correct? I see /files/files/
in there for example, and perhaps that should just be /files/
?
Noting for reference, your related post on this topic to Outsystems. https://www.outsystems.com/forums/discussion/55511/not-allowed-to-load-local-resource-from-outsystems-mobile-app/