Change com.microsoft.azure.mobile.* to com.microsoft.appcenter.*
This commit is contained in:
Родитель
8e4f9835fe
Коммит
41570ed7f7
|
@ -41,7 +41,7 @@
|
|||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
</config-file>
|
||||
|
||||
<framework src="com.microsoft.azure.mobile:appcenter-analytics:0.12.0" />
|
||||
<framework src="com.microsoft.appcenter:appcenter-analytics:1.1.0" />
|
||||
|
||||
<source-file src="src/android/AppCenterAnalyticsPlugin.java"
|
||||
target-dir="src/com/microsoft/azure/mobile/cordova" />
|
||||
|
|
|
@ -10,8 +10,8 @@ import org.json.JSONArray;
|
|||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
|
||||
import com.microsoft.azure.mobile.AppCenter;
|
||||
import com.microsoft.azure.mobile.analytics.Analytics;
|
||||
import com.microsoft.appcenter.AppCenter;
|
||||
import com.microsoft.appcenter.analytics.Analytics;
|
||||
|
||||
public class AppCenterAnalyticsPlugin extends CordovaPlugin {
|
||||
private static final String ENABLE_IN_JS = "APPCENTER_ANALYTICS_ENABLE_IN_JS";
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
</config-file>
|
||||
|
||||
<framework src="com.microsoft.azure.mobile:appcenter-crashes:0.12.0" />
|
||||
<framework src="com.microsoft.appcenter:appcenter-crashes:1.1.0" />
|
||||
|
||||
<source-file src="src/android/AppCenterCrashesPlugin.java"
|
||||
target-dir="src/com/microsoft/azure/mobile/cordova" />
|
||||
|
|
|
@ -10,10 +10,10 @@ import org.json.JSONArray;
|
|||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
|
||||
import com.microsoft.azure.mobile.AppCenter;
|
||||
import com.microsoft.azure.mobile.crashes.Crashes;
|
||||
import com.microsoft.azure.mobile.crashes.model.ErrorReport;
|
||||
import com.microsoft.azure.mobile.utils.async.AppCenterConsumer;
|
||||
import com.microsoft.appcenter.AppCenter;
|
||||
import com.microsoft.appcenter.crashes.Crashes;
|
||||
import com.microsoft.appcenter.crashes.model.ErrorReport;
|
||||
import com.microsoft.appcenter.utils.async.AppCenterConsumer;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
package com.microsoft.azure.mobile.cordova;
|
||||
|
||||
import com.microsoft.azure.mobile.crashes.AbstractCrashesListener;
|
||||
|
||||
import android.util.Base64;
|
||||
|
||||
import com.microsoft.azure.mobile.crashes.ingestion.models.ErrorAttachmentLog;
|
||||
import com.microsoft.azure.mobile.crashes.model.ErrorReport;
|
||||
import com.microsoft.appcenter.crashes.AbstractCrashesListener;
|
||||
import com.microsoft.appcenter.crashes.ingestion.models.ErrorAttachmentLog;
|
||||
import com.microsoft.appcenter.crashes.model.ErrorReport;
|
||||
|
||||
import org.apache.cordova.CallbackContext;
|
||||
import org.apache.cordova.LOG;
|
||||
|
|
|
@ -2,8 +2,8 @@ package com.microsoft.azure.mobile.cordova;
|
|||
|
||||
import android.util.Log;
|
||||
|
||||
import com.microsoft.azure.mobile.crashes.model.ErrorReport;
|
||||
import com.microsoft.azure.mobile.ingestion.models.Device;
|
||||
import com.microsoft.appcenter.crashes.model.ErrorReport;
|
||||
import com.microsoft.appcenter.ingestion.models.Device;
|
||||
|
||||
import org.apache.cordova.LOG;
|
||||
import org.json.JSONArray;
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
</config-file>
|
||||
|
||||
<framework src="com.microsoft.azure.mobile:appcenter-push:0.12.0" />
|
||||
<framework src="com.microsoft.appcenter:appcenter-push:1.1.0" />
|
||||
<framework src="src/android/AppCenterPush.gradle"
|
||||
custom="true" type="gradleReference" />
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@ import org.apache.cordova.CordovaWebView;
|
|||
import org.json.JSONArray;
|
||||
import org.json.JSONException;
|
||||
|
||||
import com.microsoft.azure.mobile.AppCenter;
|
||||
import com.microsoft.azure.mobile.push.Push;
|
||||
import com.microsoft.appcenter.AppCenter;
|
||||
import com.microsoft.appcenter.push.Push;
|
||||
|
||||
public class AppCenterPushPlugin extends CordovaPlugin {
|
||||
private CordovaPushListener listener;
|
||||
|
|
|
@ -3,8 +3,8 @@ package com.microsoft.azure.mobile.cordova;
|
|||
import android.app.Activity;
|
||||
import android.util.Log;
|
||||
|
||||
import com.microsoft.azure.mobile.push.PushListener;
|
||||
import com.microsoft.azure.mobile.push.PushNotification;
|
||||
import com.microsoft.appcenter.push.PushListener;
|
||||
import com.microsoft.appcenter.push.PushNotification;
|
||||
|
||||
import org.apache.cordova.CallbackContext;
|
||||
import org.apache.cordova.LOG;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package com.microsoft.azure.mobile.cordova;
|
||||
|
||||
import com.microsoft.azure.mobile.push.PushNotification;
|
||||
import com.microsoft.appcenter.push.PushNotification;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
|
|
|
@ -4,8 +4,8 @@ import android.app.Application;
|
|||
|
||||
import org.apache.cordova.CordovaPreferences;
|
||||
|
||||
import com.microsoft.azure.mobile.AppCenter;
|
||||
import com.microsoft.azure.mobile.ingestion.models.WrapperSdk;
|
||||
import com.microsoft.appcenter.AppCenter;
|
||||
import com.microsoft.appcenter.ingestion.models.WrapperSdk;
|
||||
|
||||
class AppCenterShared {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.microsoft.azure.mobile.cordova;
|
||||
|
||||
import com.microsoft.azure.mobile.utils.async.AppCenterConsumer;
|
||||
import com.microsoft.azure.mobile.utils.async.AppCenterFuture;
|
||||
import com.microsoft.appcenter.utils.async.AppCenterConsumer;
|
||||
import com.microsoft.appcenter.utils.async.AppCenterFuture;
|
||||
|
||||
import org.apache.cordova.CallbackContext;
|
||||
import org.apache.cordova.PluginResult;
|
||||
|
|
Загрузка…
Ссылка в новой задаче