Closed Gabriel-des closed 2 years ago
@Gabriel-des is attempting to deploy a commit to the Ionic Team on Vercel.
A member of the Team first needs to authorize it.
Thanks for the PR
All apps have the import com.getcapacitor.BridgeActivity;
, so that line shouldn't be needed, anyway, that block of code is just to indicate how to add the plugin with a registerPlugin line, it's a diff-java block, that indicates which lines changed, so it assumes you already had the onCreate. There are other pages with similar code that have the import or have // Other imports...
to indicate that there are other imports already.
Update java imports on MainActivity.java section, because new ionic capacitor projects don't have this java code.