react-native-shield-fraud-plugin 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -72,7 +72,6 @@ public class ShieldFraudPluginModule extends ReactContextBaseJavaModule implemen
72
72
 
73
73
  Shield shield = builder.build();
74
74
  Shield.setSingletonInstance(shield);
75
- System.out.println("SHIELD:: Init Done");
76
75
  }
77
76
  }
78
77
 
@@ -134,7 +133,6 @@ public class ShieldFraudPluginModule extends ReactContextBaseJavaModule implemen
134
133
 
135
134
  @ReactMethod(isBlockingSynchronousMethod = true)
136
135
  public String getSessionId() {
137
- System.out.println("SHIELD:: GetSession Id");
138
136
  return Shield.getInstance().getSessionId();
139
137
  }
140
138
 
@@ -168,7 +166,6 @@ public class ShieldFraudPluginModule extends ReactContextBaseJavaModule implemen
168
166
  @Override
169
167
  public void isReady() {
170
168
  Shield.getInstance().sendAttributes(screenName, data);
171
- System.out.println("the attribteus are sent to the server");
172
169
  }
173
170
  });
174
171
  }
@@ -27,13 +27,11 @@ RCT_EXPORT_METHOD(initShield:(NSString *)siteID secretKey:(NSString *)secretKey
27
27
  config.environment = environmentInfo;
28
28
  [Shield setUpWith:config];
29
29
  isShieldInitialized = YES;
30
- NSLog(@"SHIELD:: Init Done");
31
30
  }
32
31
  }
33
32
 
34
33
  // get session id from shield sdk
35
34
  RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(getSessionId) {
36
- NSLog(@"SHIELD:: get sessionID");
37
35
  return [[Shield shared]sessionId];
38
36
  }
39
37
 
@@ -58,7 +56,6 @@ RCT_EXPORT_METHOD(setDeviceResultStateListener:(RCTResponseSenderBlock)callback)
58
56
  dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delayInSeconds * NSEC_PER_SEC));
59
57
  dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
60
58
  [[Shield shared] setDeviceResultStateListener:^{
61
- NSLog(@"SHIELD_INIT_DONE:: SDK READY");
62
59
  callback(@[]);
63
60
  }];
64
61
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-shield-fraud-plugin",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "React Native Shield Fraud Plugin helps developers to assess malicious activities performed on mobile devices and return risk intelligence based on user's behaviour. It collects device's fingerprint, social metrics and network information.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",