Skip to content

Commit

Permalink
index.js method invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
Remigijusa committed May 12, 2021
1 parent 75658ea commit e983194
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,13 @@ class RNCallKeep {

NativeModules.RNCallKeep.backToForeground();
}

getInitialEvents() {
if (isIOS) {
return RNCallKeepModule.getInitialEvents()
}
return Promise.resolve([])
}
}

export default new RNCallKeep();

0 comments on commit e983194

Please sign in to comment.