Resolve utf8 data transfer issue from cpp to cljs

This commit is contained in:
Max Risuhin 2018-06-29 01:44:50 +03:00
parent db022e73c7
commit 6b6dc512d2
No known key found for this signature in database
GPG Key ID: BF733F5ACA0B4448
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ void RNKeychainManager::getGenericPasswordForOptions(QVariantList options,
return; return;
} }
qDebug() << "RNKeychainManager::getGenericPasswordForOptions success"; qDebug() << "RNKeychainManager::getGenericPasswordForOptions success";
resolve(d->bridge, QVariantList{QVariantMap{{"password", pw}}}); resolve(d->bridge, QVariantList{QVariantMap{{"password", pw.toUtf8().data()}}});
} }
void RNKeychainManager::setGenericPasswordForOptions(QVariantList options, void RNKeychainManager::setGenericPasswordForOptions(QVariantList options,