You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the structure that the plugin seed creates is very handy for plugins that are destined to add some functionality with native libraries, there is no clear path to enhance existing functionality.
For example, let's say I wanted to add a new method to the EXISTING View class, I need a plugin that creates the new method, appends the new method to the existing structure, and adds the necessary typescript definitions.
If I wanted to add a fadeIn method to the existing View class, I need to add this typescript definition:
While the structure that the plugin seed creates is very handy for plugins that are destined to add some functionality with native libraries, there is no clear path to enhance existing functionality.
For example, let's say I wanted to add a new method to the EXISTING
View
class, I need a plugin that creates the new method, appends the new method to the existing structure, and adds the necessary typescript definitions.If I wanted to add a
fadeIn
method to the existingView
class, I need to add this typescript definition:Then I need to add the extra method to the existing View prototype.
So in this case I also don't need the extra
platforms/android
andplatforms/ios
folders or the files within.This is one example of a plugin and would be great if it's supported.
The text was updated successfully, but these errors were encountered: