Code Monkey home page Code Monkey logo

extension-firebase-remoteconfig's Introduction

extension-firebase-remoteconfig's People

Contributors

agulev avatar britzl avatar dri-richard avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

extension-firebase-remoteconfig's Issues

Can't update RemoteConfig to the latest version

If RemoteConfig update to the latest version 10.19.0 then the extension can't be built.

Here is logs

/var/folders/sk/1rps9wzs79zdj9f2wz8m0yf00000gn/T/job14189348262439117672/CocoaPodsService/Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Swift/PropertyWrapper/RemoteConfigProperty.swift:18:21: error: no such module 'FirebaseRemoteConfigInternal'
  @_exported import FirebaseRemoteConfigInternal
                    ^
error: fatalError

com.defold.extender.ExtenderException: java.io.IOException: error: emit-module command failed with exit code 1 (use -v to see invocation)
/var/folders/sk/1rps9wzs79zdj9f2wz8m0yf00000gn/T/job14189348262439117672/CocoaPodsService/Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Swift/PropertyWrapper/RemoteConfigProperty.swift:18:21: error: no such module 'FirebaseRemoteConfigInternal'
  @_exported import FirebaseRemoteConfigInternal
                    ^
error: fatalError

	at com.defold.extender.Extender.buildEngine(Extender.java:2162)
	at com.defold.extender.Extender.build(Extender.java:2494)
	at com.defold.extender.AsyncBuilder.asyncBuildEngine(AsyncBuilder.java:115)
	at com.defold.extender.AsyncBuilder$$FastClassBySpringCGLIB$$3a887347.invoke(<generated>)
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:783)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753)
	at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.io.IOException: error: emit-module command failed with exit code 1 (use -v to see invocation)
/var/folders/sk/1rps9wzs79zdj9f2wz8m0yf00000gn/T/job14189348262439117672/CocoaPodsService/Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Swift/PropertyWrapper/RemoteConfigProperty.swift:18:21: error: no such module 'FirebaseRemoteConfigInternal'
  @_exported import FirebaseRemoteConfigInternal
                    ^
error: fatalError

	at com.defold.extender.ProcessExecutor.execute(ProcessExecutor.java:77)
	at com.defold.extender.ProcessExecutor$1.call(ProcessExecutor.java:120)
	at com.defold.extender.ProcessExecutor$1.call(ProcessExecutor.java:117)
	... 4 more

log.txt.zip

pod 'FirebaseRemoteConfig', '10.1.0' # Can't use newer version because of swift related version

It seems like there was a change in RemoteConfig in 10.2.0:
https://github.com/search?q=repo%3Afirebase%2Ffirebase-ios-sdk%20FirebaseRemoteConfigInternal&type=code

Problems when reading long strings using get_string()

Reported on the forum:

https://forum.defold.com/t/firebase-remote-config/68529/11?u=britzl

"If the value I put in firebase dashboard is longer than 22 characters, then the client can’t read it.
Anything shorter than 22 characters works. Anyone having a similar issue?"

When I put a string value with more than 22 characters, get_string returns empty (!)
Instead, I use get_data, but when I do, I sometimes get extra characters:
I should be getting the string {"key":"value_1"} but I get {"key":"value_1"}Cab or {"key":"value_1"}dee (no idea where those characters come from).

Workaround: Use get_data() instead

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.