heng
heng
@andythink 安卓平台的微信分享可以参考下我写的[react-native-wechat-android](https://github.com/beefe/react-native-wechat-android),ios平台参考我同事写的[react-native-wechat-ios](https://github.com/beefe/react-native-wechat-ios)
try change there ``` javascript CookieManager.default.set(map,(res) => { alert("Set cookie"+res); }); ``` to ``` javascript CookieManager.set(map,(res) => { alert("Set cookie"+res); }); ```
you mean callback(res) ?
After the repair finished bug I'll release a new version
@mallikarjunakp I made the following changes `set(options,callback) -> setCookie(options)` `getAll(callback) -> getCookie()` `clearAll(callback) -> removeAllCookies()`
对于方法的处理,我也写了一个[例子](https://github.com/shexiaoheng/react-native-wheel/) [WheelViewManager.java](https://github.com/shexiaoheng/react-native-wheel/blob/master/src/main/java/com/heng/wheel/WheelViewManager.java#L76-L102) ``` java @Override public Map getCommandsMap() { return MapBuilder.of( "previous", COMMAND_PREVIOUS, "next", COMMAND_NEXT); } @Override public void receiveCommand(LoopView root, int commandId, ReadableArray args) { switch (commandId) { case...
I have realized, I tried the next, Android does not to get and set the Cookie like iOS, is recommended when judged that platform to call the respective method