<commit_before>package com.slowpath.googleappinvites;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;

import com.facebook.react.modules.core.DeviceEventManagerModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;

import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.appinvite.AppInviteInvitation;
import com.google.android.gms.appinvite.AppInvite;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GooglePlayServicesUtil;

import javax.annotation.Nullable;

import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.bridge.WritableArray;

public class RNGoogleAppInvitesModule extends ReactContextBaseJavaModule {
  private static final int RC_APP_INVITES_IN = 0;
  private static final int RESULT_OK = -1;

  private ReactContext _context;
  private Activity _activity;

  public AppInvitesModule(ReactApplicationContext _reactContext, Activity activity) {
    super(_reactContext);
    _context = _reactContext;
    _activity = activity;
  }

  @Override
  public String getName() {
    return "RNGoogleAppInvites";
  }

  public void invitationsSentSuccessfully(String[] ids) {<commit_msg>Fixing wrong constructor name<commit_after>package com.slowpath.googleappinvites;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;

import com.facebook.react.modules.core.DeviceEventManagerModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;

import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.appinvite.AppInviteInvitation;
import com.google.android.gms.appinvite.AppInvite;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GooglePlayServicesUtil;

import javax.annotation.Nullable;

import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.bridge.WritableArray;

public class RNGoogleAppInvitesModule extends ReactContextBaseJavaModule {
  private static final int RC_APP_INVITES_IN = 0;
  private static final int RESULT_OK = -1;

  private ReactContext _context;
  private Activity _activity;

  public RNGoogleAppInvitesModule(ReactApplicationContext _reactContext, Activity activity) {
    super(_reactContext);
    _context = _reactContext;
    _activity = activity;
  }

  @Override
  public String getName() {
    return "RNGoogleAppInvites";
  }

  public void invitationsSentSuccessfully(String[] ids) {
{'fraction_non_alphanumeric': 0.08667529107373868, 'fraction_numerical': 0.00129366106080207, 'mean_word_length': 6.061643835616438, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2374029', 'n_tokens_mistral': 906, 'n_tokens_neox': 898, 'n_words': 169}