Skip to content

iOS 导入不成功 #3

@Amencome

Description

@Amencome

您好,我在引入您的库时遇到了一些问题。引入不成功。
代码如下:
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上的邮箱发过邮件,请在您方便的时候指导下 谢谢

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions