Skip to content
This repository was archived by the owner on Oct 26, 2019. It is now read-only.
This repository was archived by the owner on Oct 26, 2019. It is now read-only.

missing oncreate() on MainActivity.java #4

@yusuf987

Description

@yusuf987

please see below my MainActivity.java
there is nothing where i can add .addPackage(new ChromeCustomTabsPackage(this)) // <-- Register
i am stuck here please help

package com.koenig.student;

import com.facebook.react.ReactActivity;
import android.content.Intent;
public class MainActivity extends ReactActivity {

    /**
     * Returns the name of the main component registered from JavaScript.
     * This is used to schedule rendering of the component.
     */
        @Override
   public void onNewIntent (Intent intent) {
     super.onNewIntent(intent);
      setIntent(intent);
   } 
    @Override
    protected String getMainComponentName() {
        return "Koenig";
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions