Skip to content

How to request user input during plugin installation? #2521

@EddyVerbruggen

Description

@EddyVerbruggen

Hi,

Before {N} 2.5.0 was released nativescript-plugin-firebase was able to use a postinstall script that prompted the user about his configuration ("Do you want to use Firebase Messaging? (y/n)"). The prompt code can be found here.

When 2.5.0 was released and you installed version 3.9.2 of the plugin the CLI just hanged. So I released 3.9.3 that removed the postinstall script, now users must not forget to run it themselves after plugin installation.

Was this intended / is it a bug.. I don't know, but what would you currently recommend for me to use to prompt the user during plugin installation?

Thanks!

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions