Resolve utf8 data transfer issue from cpp to cljs
This commit is contained in:
parent
db022e73c7
commit
6b6dc512d2
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue