firebase-cpp-sdk icon indicating copy to clipboard operation
firebase-cpp-sdk copied to clipboard

firebase without libsecret

Open ghost opened this issue 5 years ago • 7 comments

Will there be a firebase version for sailfish?

ghost avatar Feb 05 '20 09:02 ghost

This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Feb 05 '20 09:02 google-oss-bot

@a-maurice & @jonsimantov FYI

You can switch out libsecret to use the fake secure storage (which just stores in a file), see: https://github.com/firebase/firebase-cpp-sdk/blob/493e97b505376e91ac3ad59d0ff23a773959fe20/app/src/secure/user_secure_manager.cc#L44

and

https://github.com/firebase/firebase-cpp-sdk/blob/ac41afcf810d2aa173ffe6071b83fe693a4ab4f8/app/CMakeLists.txt#L188

for what you would need to change.

stewartmiles avatar Feb 05 '20 19:02 stewartmiles

Thanks. This helped, now it remains only to deal with cross compilation.

ghost avatar Feb 06 '20 09:02 ghost

Do you know somebody who compiled in the linux platform in armabi-v7a or aarch64 architecture the firebase?

ghost avatar Feb 06 '20 17:02 ghost

@aybbega nope I recommend checking out https://cmake.org/cmake/help/v3.6/manual/cmake-toolchains.7.html#cross-compiling-for-linux

stewartmiles avatar Feb 06 '20 17:02 stewartmiles

Thanks. I configure with new options, but an error occurred while compiling, the search in net did not give anything.

In file included from /home/mersdk/firebase-cpp-sdk/app/src/app_options.cc:22:0: /home/mersdk/firebase-cpp-sdk/desktop_build/generated/app/google_services_generated.h:77:8: error: use of enum ‘FlatBuffersVTableOffset’ without previous declaration

What may be the reason for the error

ghost avatar Feb 07 '20 14:02 ghost

Hi @aybbega,

I would guess that the flatbuffers includes are not in the compiler include path. Those symbols are defined in include/flatbuffers/reflection_generated.h.

DellaBitta avatar Aug 05 '20 15:08 DellaBitta