Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Commit bdfb0d5

Browse files
huhuanmingrevan-zhanghellohublot
authored
fix: remove unused settings (#6)
* Update package-publish.yml * Update package-publish.yml * Update package-publish.yml * Update package.json * chore: update yarn.lock * chore: update yarn.lock * chore: update yarn.lock * chore: update yarn.lock * chore: update yarn.lock * chore: update yarn.lock * chore: add `--access public` flag * chore: remove the scope * chore: remove the YARN_NPM_AUTH_TOKEN * chore: replace the yarn to npm * fix: rename the package identifier to solve eas build error * chore: bump the version * feat: add checkNFCPermission and lastIsoDep * feat: bump the version * feat: fix the null cardInfo of new card * feat: bump version * feat: replace all callback to promise * fix: the permission on xiaomi and tag lost crash * fix: add AuthenticationLockCode * fix: iosdep isConnected crash * fix: the isodep crash * fix: read the last isodep * fix: the crash of tag is out of date * fix: the crash of enableForegroundDispatch * fix: add .gitignore * fix: remove unused intentToNfcSetting on Xiaomi * chore: upgrade version --------- Co-authored-by: loatheb <[email protected]> Co-authored-by: hublot <[email protected]>
1 parent 0139194 commit bdfb0d5

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,5 @@ lib/
8080

8181
# key
8282
*.secret
83+
84+
.history

android/src/main/java/so/onekey/app/wallet/lite/nfc/NfcUtils.kt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,6 @@ object NfcUtils {
101101
* @return `true` 跳转成功 <br></br> `false` 跳转失败
102102
*/
103103
fun intentToNfcSetting(context: Context): Boolean {
104-
if ("Smartisan".equals(Build.MANUFACTURER, true)) {
105-
if (intentToNfcShare(context)) {
106-
return true
107-
}
108-
}
109-
if ("xiaomi".equals(Build.MANUFACTURER, true)) {
110-
MiUtil.intentToAppSetting(context)
111-
return true
112-
}
113104
if (isNfcExits(context)) {
114105
return toIntent(context, Settings.ACTION_NFC_SETTINGS)
115106
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@onekeyfe/react-native-lite-card",
3-
"version": "1.0.11",
3+
"version": "1.0.12",
44
"description": "lite card",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)