John Smith

Results 8 comments of John Smith

var width = 0; var height = 0; Page({ data: { cropperOpt: { id: 'cropper', width, height, scale: 2.5, zoom: 5, quality: 2, cut: { x: (width - 300) /...

我的也是 安卓: react-native-cli: 2.0.1 react-native: 0.59.8 `D:\react-native\XXx\node_modules\react-native\Libraries\Core\ExceptionsManager.js:74 TypeError: _jpushReactNative.default.init is not a function This error is located at: in BaseComponent (at TabBarContainer.js:78) in TabNavigatorItem (at TabBarContainer.js:70) in StaticContainer (at TabNavigator.js:162)...

_jpushReactNative.default.init 错误 安卓 应该是缓存 问题。。好像加载了之前的index.js 但是 我一直找不到之前的 版本的 index.js。 后面把新版本的 index.js 复制一份到 src目录 import进来就行了。

> iOS 中的 JPush.setBadge({badge:0}) 只是更新了极光服务器上的角标数,不会改变应用本地的角标值。 > 修改 node_modules/jpush-react-native/ios/RCTJPushModule/RCTJPushModule.m > 增加 > > ``` > // 原来并未暴露 resetBadge 接口 > RCT_EXPORT_METHOD(resetBadge) > { > [UIApplication sharedApplication].applicationIconBadgeNumber = 0; > //[JPUSHService resetBadge];...

let params = {"badge":0} JPush.setBadge(params); JPush.resetBadge(); 可以清除 了,不过连消息列表一起清掉了。。 [UIApplication sharedApplication].applicationIconBadgeNumber = -1; 可以不清除消息 只清除角标

我切到后台可以,但是 把app 拉掉 后, 能跳转到app,但是跳转不到 指定的页面

Yes In amazon sp-api create listing, json schema is: [amazon_shirt_schema.json](https://github.com/json-editor/json-editor/files/13765621/amazon_shirt_schema.json) The properties is initially not required and is set to required in the allOf condition. IT'S show errors : ![231225184334](https://github.com/json-editor/json-editor/assets/496419/dee54e65-f4fc-4ffa-bd04-7dfdfec37177)

ios 40010的试试这种办法, 我也是40010 把RCTJShareConfig.plist到各个文件夹 都没用,控制器提示 RCTJShareConfig.plist not found 后面在网上找到一种解决办法, Xcode 10 选中项目 后 在 Build Phases -> Copy Bundle Resoures 点击+号 选中RCTJShareConfig.plist 重新运行就可以了。