Skip to content

Commit

Permalink
chore: fixed minor issues in android module due to merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
desusai7 committed Aug 2, 2024
1 parent d09c3e7 commit eaa61eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions android/src/main/java/com/auth0/react/A0Auth0Module.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ public A0Auth0Module(ReactApplicationContext reactContext) {
}

@ReactMethod
public void initializeAuth0(String clientId, String domain, ReadableMap localAuthenticationOptions, Promise promise) {
public void initializeAuth0WithConfiguration(String clientId, String domain, ReadableMap localAuthenticationOptions, Promise promise) {
this.auth0 = Auth0.getInstance(clientId, domain);
AuthenticationAPIClient authenticationAPIClient = new AuthenticationAPIClient(auth0);
if (localAuthenticationOptions != null) {
Activity activity = getCurrentActivity();
if (activity instanceof FragmentActivity) {
Expand Down

0 comments on commit eaa61eb

Please sign in to comment.