Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaioannou authored and vkanellopoulos committed Feb 16, 2024
1 parent 3e24e33 commit df88354
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,8 @@ In order to use NFC for engagement, you must add the service `DefaultNfcEngageme
</application>
```
You can enable or disable the NFC engagement in your app by calling the `EudiWallet.enable(Activity)`
and `EudiWallet.disable(Activity)` methods.
You can enable or disable the NFC engagement in your app by calling the `EudiWallet.enableNFCEngagement(Activity)`
and `EudiWallet.disableNFCEngagement(Activity)` methods.
In the example below, the NFC engagement is enabled when activity is resumed and disabled
when the activity is paused.
Expand All @@ -608,12 +608,12 @@ In order to use NFC for engagement, you must add the service `DefaultNfcEngageme
override fun onResume() {
super.onResume()
EudiWallet.enable(this)
EudiWallet.enableNFCEngagement(this)
}
override fun onPause() {
super.onPause()
EudiWallet.disable(this)
EudiWallet.disableNFCEngagement(this)
}
}
```
Expand Down

0 comments on commit df88354

Please sign in to comment.