我使用 gitKraken,当我尝试从 master 拉取时出现错误。
“无法检索 ssh 身份验证方法列表,在套接字上等待时出错”
我尝试生成一个新的 ssh 密钥并将其放入我的 bitBucket 存储库中,但没有帮助。
任何帮助都会很棒,谢谢。
我尝试使用 detox 检查该元素是否在 android 模拟器中可见。我滚动页面并查看元素,但是当我使用 detox 检查元素是否可见时,我收到此错误:
Test Failed: 'at least 75 percent of the view's area is displayed to the user.' doesn't match the selected view.
Expected: at least 75 percent of the view's area is displayed to the user.
Got: "ReactViewGroup{id=1227, visibility=VISIBLE, width=250, height=250, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=false, is-selected=false, layout-params=android.view.ViewGroup$LayoutParams@a376217, tag=test1, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=95.0, child-count=1}"
Run Code Online (Sandbox Code Playgroud)
我试图滚动更多以将元素放在屏幕中间,但没有区别。
await expect(element(by.id('test1')).atIndex('2')).toBeVisible();
Run Code Online (Sandbox Code Playgroud)
我使用 react-native 所以它是相同的代码..,它与 iOS 完美配合,但在 android 中,我得到了我提到的错误。
* detox 是使用 android-espresso 的 react-native 的 e2e …
我正在使用使用自动链接的 react-native 0.62 我想知道是否有一种方法可以自动链接仅适用于 android 或仅适用于 ios。
我真正的问题是我使用 react-native-firebsae 和 react-native-push-notification 来发送本地通知,而我只需要为 android 使用“react-native-push-notification”。
在我添加“react-native-push-notification”并执行 pod install 后,我的 IOS 显示错误“Invarian Violation: Native module cannot be null”。先感谢您
react-native react-native-firebase react-native-push-notification