为了抖音上架暂时删除未登录状态获取剪贴板功能,并且在登录后才保存设备信息
This commit is contained in:
parent
ad633d6502
commit
04b31335c8
6
App.jsx
6
App.jsx
|
@ -207,11 +207,11 @@ export default function App() {
|
|||
setInviterCode(null);
|
||||
}, []);
|
||||
|
||||
//当用户未登录时,获取剪贴板内容,用于绑定邀请人
|
||||
//当用户未登录时,获取剪贴板内容,用于绑定邀请人,同时保存设备信息
|
||||
useEffect(() => {
|
||||
if (state.isSignin) return;
|
||||
if (!state.isSignin) return;
|
||||
if (!checked) return; //用户未同意隐私政策时不获取剪贴板信息
|
||||
getClipboardContent();
|
||||
// getClipboardContent();
|
||||
storeAppInfo();
|
||||
}, [checked]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue