android - mFirebaseRemoteConfig.fetch() doesn't return -


mfirebaseremoteconfig.fetch(0)                 .addoncompletelistener(new oncompletelistener<void>() {                     @override                     public void oncomplete(@nonnull task<void> task) {                         if (task.issuccessful()) {                              system.out.println("fetch succeeded");                             // once config fetched must                              // values returned.                             mfirebaseremoteconfig.activatefetched();                         } else {                             system.out.println("fetch failed");                         }                       }                 }); 

i added remote config server. able values couple of times. updated remote config conditions after , fetch doesnt return anything. tried lot of approaches including moving call after on onresume , calling separate thread. updating 9.2.1 didnt worked me else can done config?


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -