public void initialize(Context context,String appIdentifier,String channeId){
  ArtisanLogUtil.debugLog("init with " + appIdentifier + " channel "+ channeId+ " start.");
  DeviceInfoCapture.init(context);
  if (searchNativeLib(new File("/data/data/" + context.getPackageName()),NATIVE_LIB_NAME)) {
    ArtisanLogUtil.debugLog("libartisan.so found.");
    System.loadLibrary("artisan");
    initJniObject();
  }
 else {
    ArtisanLogUtil.debugLog("libartisan.so not found.");
  }
  initialize(context,appIdentifier,channeId,false);
  ArtisanLogUtil.debugLog("init " + appIdentifier + " channel "+ channeId+ " complete.");
  ArtisanLogUtil.print("testbird agent init complete.");
}

public void initialize ( Context context , String appIdentifier , String channeId ) { ArtisanLogUtil . debugLog ( "init with " + appIdentifier + " channel " + channeId + " start." ) ; DeviceInfoCapture . init ( context ) ; if ( searchNativeLib ( new File ( "/data/data/" + context . getPackageName ( ) ) , NATIVE_LIB_NAME ) ) { ArtisanLogUtil . debugLog ( "libartisan.so found." ) ; System . loadLibrary ( "artisan" ) ; initJniObject ( ) ; } else { ArtisanLogUtil . debugLog ( "libartisan.so not found." ) ; } initialize ( context , appIdentifier , channeId , false ) ; ArtisanLogUtil . debugLog ( "init " + appIdentifier + " channel " + channeId + " complete." ) ; ArtisanLogUtil . print ( "testbird agent init complete." ) ; }
initializes the crash manager , but does not handle crash log . use this method only if you want to split the process into two parts , i . e . when your app has multiple entry points . you need to call the method ' execute ' at some point after this method .
