Wrong Parameters
thaoth58 opened this issue · comments
Hello,
I have this problem, can you have a look?
try {
const linkObject = {
webURL: link
};
const options = {
objectType: 'text',
text: 'MyScanShare',
link: linkObject,
};
const response = await RNKakaoLink.link(options);
console.log(response);
blob:http://localhos…1c4ea311dd54:143904 Error: Wrong Parameters
at createErrorFromErrorData (blob:http://localhos…0-1c4ea311dd54:2118)
at blob:http://localhos…0-1c4ea311dd54:2070
at MessageQueue.__invokeCallback (blob:http://localhos…0-1c4ea311dd54:2637)
at blob:http://localhos…0-1c4ea311dd54:2368
at MessageQueue.__guard (blob:http://localhos…0-1c4ea311dd54:2541)
at MessageQueue.invokeCallbackAndReturnFlushedQueue (blob:http://localhos…0-1c4ea311dd54:2367)
at debuggerWorker.js:80
Hello,
I tested Text linking API but it works well.
Check your javascript webURL: link
and Tell me more info. : )
This is my whole code:
try {
const linkObject = {
webURL: 'https://dev.myscanshare.com/register?sharedObjectID=5ca5d3d30f9d8b4005e0755a&sharedObjectType=study'
};
const options = {
objectType: 'text',
text: 'MyScanShare',
link: linkObject,
};
const response = await RNKakaoLink.link(options);
console.log(response);
} catch(e) {
console.log(e)
}
I linked manually. Because I cannot build when I try to use
$ react-native link react-native-kakao-links
.
I found the issue:
I don't have kakao<id>
in my Info.plist. :D
I found the issue:
I don't have
kakao<id>
in my Info.plist. :D
The same problem occurs. How did you do it?
I found the issue:
I don't havekakao<id>
in my Info.plist. :DThe same problem occurs. How did you do it?
Not sure if your issue is as same as me or not. I added kakao in LSApplicationQueriesSchemes from Info.plist