Skip to content

chore: remove App plugin#3676

Merged
imhoffd merged 6 commits into
mainfrom
remove-app
Oct 19, 2020
Merged

chore: remove App plugin#3676
imhoffd merged 6 commits into
mainfrom
remove-app

Conversation

@jcesarmobile
Copy link
Copy Markdown
Member

@jcesarmobile jcesarmobile commented Oct 14, 2020

Since on Android the App plugin was very coupled with the bridge I've created a new App class (that is not a plugin) to host that functionality and the App plugin will use it as an intermediary, i.e subscribe to its events.

Comment thread android/capacitor/src/main/java/com/getcapacitor/App.java
Comment thread android/capacitor/src/main/java/com/getcapacitor/App.java Outdated
@imhoffd
Copy link
Copy Markdown
Contributor

imhoffd commented Oct 16, 2020

Would it make sense to allow multiple listeners to these events, instead of just one?

@carlpoole
Copy link
Copy Markdown
Contributor

Would it make sense to allow multiple listeners to these events, instead of just one?

I wondered that too. I think it makes sense to allow for it

@imhoffd imhoffd merged commit c3e821e into main Oct 19, 2020
@imhoffd imhoffd deleted the remove-app branch October 19, 2020 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants