Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 导入不成功 #3

Open
Amencome opened this issue Nov 9, 2016 · 0 comments
Open

iOS 导入不成功 #3

Amencome opened this issue Nov 9, 2016 · 0 comments

Comments

@Amencome
Copy link

Amencome commented Nov 9, 2016

您好,我在引入您的库时遇到了一些问题。引入不成功。
代码如下:
import DES from '@remobile/react-native-des'
console.log(1,DES);
DES.encrypt("11111", "6Ta", function(base64) {
console.log(base64); //wWcr2BJdyldTHn4z3AxA0qBIdHQkIKmpqhTgNuRd3fAFXzvIO5347g==
DES.decrypt(base64, "6Ta", function(text) {
console.log(text); //fangyunjiang is a good developer
}, function(){
console.log("error");
});
}, function() {
console.log("error");
});
但是报错:“ Cannot read property 'encrypt' of undefined”。
给您github上的邮箱发过邮件,请在您方便的时候指导下 谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant