react-native-share-local
react-native-share-local copied to clipboard
错误码如下,是在看不懂是在干什么
Exception '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil' was thrown while invoking link on target RNShareLocal with params ( "\U5206\U4eab\U7f51\U5740\U6807\U9898", "http://img.gemejo.com/product/8c/099/cf53b3a6008136ef0882197d5f5.jpg", "http://img.gemejo.com/product/8c/099/cf53b3a6008136ef0882197d5f5.jpg", 521 )
你传过来的参数类型不对呀 发自网易邮箱大师 在2017年07月19日 14:59,MateorChan 写道: Exception '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil' was thrown while invoking link on target RNShareLocal with params ( "\U5206\U4eab\U7f51\U5740\U6807\U9898", "http://img.gemejo.com/product/8c/099/cf53b3a6008136ef0882197d5f5.jpg", "http://img.gemejo.com/product/8c/099/cf53b3a6008136ef0882197d5f5.jpg", 521 )
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kmlidc/react-native-share-local","title":"kmlidc/react-native-share-local","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kmlidc/react-native-share-local"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"错误码如下,是在看不懂是在干什么 (#4)"}],"action":{"name":"View Issue","url":"https://github.com/kmlidc/react-native-share-local/issues/4"}}}


请看截图,这是空的项目,直接使用的demo代码
你这个问题是ios那边info.plist需要配置,允许http访问