Problem requesting Firebase Storage

1

When I try to download something from the storage service of firebase, and I pass as a parameter to the method getReferenceFromUrl of the class StorageReference , I get the following error:

com.google.firebase.storage.StorageException: 
Object does not exist at location accents android

However, this only happens to me when the parameter I send has tildes

Ex:

Víspera
Paráclesis

etc ...

But on the other hand, when I send as a parameter with ó , I get the result correctly.

I tried to code with URLEncode or URLDecoder the string that happened, but in the same way I get the same error.

Any ideas?

SOLVED

I did it using this function

Normalizer             .normalize (fileName, Normalizer.Form.NFD);

which is the equivalent in Android to how it is done in which it is: (NSString *) decomposedStringWithCanonicalMapping Equivalent to NFD in Java / Android

    
asked by Carlos Alberto Blanco Vivas 17.04.2017 в 14:14
source

0 answers