-
Notifications
You must be signed in to change notification settings - Fork 225
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
After that an user upload the data , how to retrieve the uid or phone number of the user who upload and uid or phone number of other users who is in upload data of this user . #23
Comments
Can you please use a valid title and explain your issue in the "description" section? |
ok |
how to know the phone number or the uid of the users in this data uploaded |
How did you manage to get the upload PIN? @russellmoya |
@russellmoya you can download uploaded file by ObjectMetadata and decode msg (where contains encoded contacted user id) from the records list and token (where contains encoded user id who uploaded data). But your token is empty and it seems you are avoided getToken process. |
Thanks a lot @rinekri for answer me.
|
@russellmoya you can use decryptTempID and validateToken functions to do this. You can find them in the existing files: first / second. For encryptionKey parameter use await getEncryptionKey() |
i modify getUploadToken.ts file . if (data) {
// valid = uploadCodes.find(x => x === data) !== undefined; |
for msg i use descyptTempID and for token i use validateToken ? ... @rinekri |
@rinekri yeah. This is an example how you can download uploaded data to decrypt it:
|
thanks |
No description provided.
The text was updated successfully, but these errors were encountered: