Jump to content

How to show Plugin config pages for users in Moblie apps


shure
Go to solution Solved by shure,

Recommended Posts

shure

After using EnableInUserMenu, Plugin config page can be viewed by users in Web and electron client

But it still not work in Moblie apps

I found trakt can be viewed in Moblie apps by users

Thanks for your help

                new PluginPageInfo
                {
                    Name = "customcssjs",
                    DisplayName = "Custom Css and JavaScript",
                    EmbeddedResourcePath = GetType().Namespace + ".Configuration.customcssjs.html",
                    EnableInMainMenu = false,
                    EnableInUserMenu = true,
                    IsMainConfigPage = true,
                    MenuIcon = "tune"
                },

 

Link to comment
Share on other sites

  • Solution
shure

add your plugin id in 

allowedPluginConfigs

in assets/www/modules/common/pluginmanager.js

Link to comment
Share on other sites

Apps that are published in stores are only going to display plugins that we've looked over and approved so that we're making sure that we're not violating any app store policies.

Link to comment
Share on other sites

22 minutes ago, Cheesegeezer said:

So as not to start another thread.  Is there a userPlugin.xml generated anywhere once the user saves in UI or is this now stored in the database?

 

for example they used to be stored here

 

For what stored in the database or config?

Link to comment
Share on other sites

Cheesegeezer
11 minutes ago, Luke said:

For what stored in the database or config?

The physical xml file!! That stores the plugin configuration settings

Link to comment
Share on other sites

shure

or change 

features.restrictedplugins

to true in assets/www/native/android/apphost.js, All plugins will be showed in app.

Just for discussion 😀

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...