react-native-authsignal 2.2.4 → 2.2.5

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.
@@ -44,7 +44,7 @@ class AuthsignalModule(private val reactContext: ReactApplicationContext) :
44
44
 
45
45
  @ReactMethod
46
46
  fun launch(url: String?, callback: Callback) {
47
- val activity = currentActivity
47
+ val activity = reactContext.currentActivity
48
48
  val parsedUrl = Uri.parse(url)
49
49
  this.callback = callback
50
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-authsignal",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "description": "The official Authsignal React Native library.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",