Skip to content

Commit c215c81

Browse files
committed
Release 1.7.3
1 parent f9acf81 commit c215c81

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='utf-8'?>
2-
<plugin id="com.streethawk.core" version="1.7.2" xmlns="http://apache.org/cordova/ns/plugins/1.0"
2+
<plugin id="com.streethawk.core" version="1.7.3" xmlns="http://apache.org/cordova/ns/plugins/1.0"
33
xmlns:android="http://schemas.android.com/apk/res/android">
44
<name>StreetHawkCore</name>
55
<description> StreetHawk SDK plugin for analytics</description>

src/android/Streethawk.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public boolean execute(String action, JSONArray args, CallbackContext callbackCo
7777
return shGetAppKey(callbackContext);
7878
}
7979
if(action.equals("shDeeplinking")){
80+
Log.e("Anurag","shDeeplinking in java 1");
8081
return processDeeplinkRequest(callbackContext);
8182
}
8283
if(action.equals("shSendSimpleFeedback")){
@@ -676,6 +677,7 @@ private boolean shRegisterViewCallback(CallbackContext callbackContext){
676677

677678

678679
private boolean shGetViewName(CallbackContext callbackContext){
680+
Log.e("Anurag","shGetViewName");
679681
final Context context = cordova.getActivity().getApplicationContext();
680682
Class noParams[] = {};
681683
Class[] paramContext = new Class[1];
@@ -687,8 +689,11 @@ private boolean shGetViewName(CallbackContext callbackContext){
687689
Object obj = pushMethod.invoke(null,context);
688690
if (null != obj) {
689691
Method addPushModule = push.getDeclaredMethod("getAppPage", noParams);
692+
Log.e("Anurag","shGetViewName 1");
690693
Object result = addPushModule.invoke(obj);
694+
Log.e("Anurag","apppage"+result);
691695
if(result instanceof String){
696+
Log.e("Anurag","apppage 2"+result);
692697
String tmp = ((String)result);
693698
callbackContext.success(tmp);
694699
}

src/android/streethawkcore.jar

7.35 KB
Binary file not shown.

0 commit comments

Comments
 (0)