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
Incase it's helpful for anyone, when the instructions talk about updating your MainActivity.class, it means the MainActivity.java file, and it'll need to look like this
package [YOUR_PACKAGE_ID_SHOULD_ALREADY_BE_HERE];
import android.os.Bundle;
import com.getcapacitor.BridgeActivity;
import com.openforge.capacitorgameconnect.CapacitorGameConnectPlugin;
public class MainActivity extends BridgeActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
registerPlugin(CapacitorGameConnectPlugin.class);
super.onCreate(savedInstanceState);
}
}
The text was updated successfully, but these errors were encountered:
mledwards
changed the title
MainActivity.java update
MainActivity.class update
Nov 7, 2023
Incase it's helpful for anyone, when the instructions talk about updating your MainActivity.class, it means the MainActivity.java file, and it'll need to look like this
The text was updated successfully, but these errors were encountered: