Revert plugins

This commit is contained in:
Alexey Kulish 2016-12-24 10:20:17 +03:00
parent 825b571cf3
commit b85edcbb63
12 changed files with 32 additions and 16 deletions

View file

@ -16,10 +16,12 @@
android:name="net.osmand.nautical.NauticalActivity" android:name="net.osmand.nautical.NauticalActivity"
android:theme="@style/AppTheme" android:theme="@style/AppTheme"
android:label="@string/app_name" > android:label="@string/app_name" >
<!--
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
-->
</activity> </activity>
</application> </application>

View file

@ -63,11 +63,11 @@ repositories {
} }
dependencies { dependencies {
compile 'com.google.firebase:firebase-core:9.8.0' //compile 'com.google.firebase:firebase-core:9.8.0'
compile 'com.google.firebase:firebase-config:9.8.0' //compile 'com.google.firebase:firebase-config:9.8.0'
compile 'com.android.support:appcompat-v7:23.3.0' compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:design:23.3.0' compile 'com.android.support:design:23.3.0'
} }
println "Apply GMS plugin" //println "Apply GMS plugin"
apply plugin: 'com.google.gms.google-services' //apply plugin: 'com.google.gms.google-services'

View file

@ -72,6 +72,7 @@ public class NauticalActivity extends Activity {
} }
public void logEvent(Activity ctx, String event) { public void logEvent(Activity ctx, String event) {
/*
try { try {
Class<?> cl = Class.forName("com.google.firebase.analytics.FirebaseAnalytics"); Class<?> cl = Class.forName("com.google.firebase.analytics.FirebaseAnalytics");
Method mm = cl.getMethod("getInstance", Context.class); Method mm = cl.getMethod("getInstance", Context.class);
@ -81,5 +82,6 @@ public class NauticalActivity extends Activity {
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
*/
} }
} }

View file

@ -15,10 +15,12 @@
android:name=".ParkingPluginActivity" android:name=".ParkingPluginActivity"
android:theme="@style/AppTheme" android:theme="@style/AppTheme"
android:label="@string/app_name" > android:label="@string/app_name" >
<!--
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
-->
</activity> </activity>
</application> </application>

View file

@ -63,11 +63,11 @@ repositories {
} }
dependencies { dependencies {
compile 'com.google.firebase:firebase-core:9.8.0' //compile 'com.google.firebase:firebase-core:9.8.0'
compile 'com.google.firebase:firebase-config:9.8.0' //compile 'com.google.firebase:firebase-config:9.8.0'
compile 'com.android.support:appcompat-v7:23.3.0' compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:design:23.3.0' compile 'com.android.support:design:23.3.0'
} }
println "Apply GMS plugin" //println "Apply GMS plugin"
apply plugin: 'com.google.gms.google-services' //apply plugin: 'com.google.gms.google-services'

View file

@ -71,6 +71,7 @@ public class ParkingPluginActivity extends Activity {
} }
public void logEvent(Activity ctx, String event) { public void logEvent(Activity ctx, String event) {
/*
try { try {
Class<?> cl = Class.forName("com.google.firebase.analytics.FirebaseAnalytics"); Class<?> cl = Class.forName("com.google.firebase.analytics.FirebaseAnalytics");
Method mm = cl.getMethod("getInstance", Context.class); Method mm = cl.getMethod("getInstance", Context.class);
@ -80,5 +81,6 @@ public class ParkingPluginActivity extends Activity {
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
*/
} }
} }

View file

@ -15,10 +15,12 @@
android:name="net.osmand.srtmPlugin.SRTMPluginActivity" android:name="net.osmand.srtmPlugin.SRTMPluginActivity"
android:theme="@style/AppTheme" android:theme="@style/AppTheme"
android:label="@string/app_name" > android:label="@string/app_name" >
<!--
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
-->
</activity> </activity>
</application> </application>

View file

@ -63,11 +63,11 @@ repositories {
} }
dependencies { dependencies {
compile 'com.google.firebase:firebase-core:9.8.0' //compile 'com.google.firebase:firebase-core:9.8.0'
compile 'com.google.firebase:firebase-config:9.8.0' //compile 'com.google.firebase:firebase-config:9.8.0'
compile 'com.android.support:appcompat-v7:23.3.0' compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:design:23.3.0' compile 'com.android.support:design:23.3.0'
} }
println "Apply GMS plugin" //println "Apply GMS plugin"
apply plugin: 'com.google.gms.google-services' //apply plugin: 'com.google.gms.google-services'

View file

@ -73,6 +73,7 @@ public class SRTMPluginActivity extends Activity {
} }
public void logEvent(Activity ctx, String event) { public void logEvent(Activity ctx, String event) {
/*
try { try {
Class<?> cl = Class.forName("com.google.firebase.analytics.FirebaseAnalytics"); Class<?> cl = Class.forName("com.google.firebase.analytics.FirebaseAnalytics");
Method mm = cl.getMethod("getInstance", Context.class); Method mm = cl.getMethod("getInstance", Context.class);
@ -82,5 +83,6 @@ public class SRTMPluginActivity extends Activity {
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
*/
} }
} }

View file

@ -15,10 +15,12 @@
android:name="net.osmand.skimaps.SkiMapsActivity" android:name="net.osmand.skimaps.SkiMapsActivity"
android:theme="@style/AppTheme" android:theme="@style/AppTheme"
android:label="@string/app_name" > android:label="@string/app_name" >
<!--
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
-->
</activity> </activity>
</application> </application>

View file

@ -64,11 +64,11 @@ repositories {
} }
dependencies { dependencies {
compile 'com.google.firebase:firebase-core:9.8.0' //compile 'com.google.firebase:firebase-core:9.8.0'
compile 'com.google.firebase:firebase-config:9.8.0' //compile 'com.google.firebase:firebase-config:9.8.0'
compile 'com.android.support:appcompat-v7:23.3.0' compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:design:23.3.0' compile 'com.android.support:design:23.3.0'
} }
println "Apply GMS plugin" //println "Apply GMS plugin"
apply plugin: 'com.google.gms.google-services' //apply plugin: 'com.google.gms.google-services'

View file

@ -74,6 +74,7 @@ public class SkiMapsActivity extends Activity {
} }
public void logEvent(Activity ctx, String event) { public void logEvent(Activity ctx, String event) {
/*
try { try {
Class<?> cl = Class.forName("com.google.firebase.analytics.FirebaseAnalytics"); Class<?> cl = Class.forName("com.google.firebase.analytics.FirebaseAnalytics");
Method mm = cl.getMethod("getInstance", Context.class); Method mm = cl.getMethod("getInstance", Context.class);
@ -83,5 +84,6 @@ public class SkiMapsActivity extends Activity {
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
*/
} }
} }