最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to write a local Capacitor plugin which ships own assets? - Stack Overflow

programmeradmin2浏览0评论

This local Capacitor plugin has a let's say on-load.js file which will be read and eval-ed by the plugin's Java code, in onPageFinished, even if we've navigated into an external page in our app.

Currently I'm only able to do this if I set up the build to copy the on-load.js into the plugin's consuming Capacitor Android app.
The goal is to make the plugin ship this on-load.js by itself - if that's even possible.

发布评论

评论列表(0)

  1. 暂无评论