Coder Social home page Coder Social logo

missing A Firebase API key about android-oss HOT 7 CLOSED

tonptit avatar tonptit commented on June 10, 2024 1
missing A Firebase API key

from android-oss.

Comments (7)

emreakcan avatar emreakcan commented on June 10, 2024

Hey, you can't run the project directly. There is lots of keys and secrets in this project, you can create your own firebase project and put your api keys. But as I remember if you go through setup process "make bootstrap" does that for you but I'm not sure.

from android-oss.

emreakcan avatar emreakcan commented on June 10, 2024

@JadeByfield89 could you please close that issue?

from android-oss.

NurseyitTursunkulov avatar NurseyitTursunkulov commented on June 10, 2024

Hey, you can't run the project directly. There is lots of keys and secrets in this project, you can create your own firebase project and put your api keys. But as I remember if you go through setup process "make bootstrap" does that for you but I'm not sure.

does not work

from android-oss.

NurseyitTursunkulov avatar NurseyitTursunkulov commented on June 10, 2024

when I run "make bootstrap", it gives me the following error:

git submodule sync --recursive
Synchronizing submodule url for 'vendor/material-design-icons'
git submodule update --init --recursive || true
git submodule foreach git checkout
Entering 'vendor/material-design-icons'
You do not have access to the native-secrets repo. Falling back to placeholder values.

Copy java secrets over.

cp vendor/native-secrets/android/Secrets.java app/src/main/java/com/kickstarter/libs/utils/Secrets.java
|| cp app/src/main/java/com/kickstarter/libs/utils/Secrets.java.example app/src/main/java/com/kickstarter/libs/utils/Secrets.java
cp: cannot stat 'vendor/native-secrets/android/Secrets.java': No such file or directory
cp vendor/native-secrets/ruby/secrets.rb lib/milkrun/secrets.rb || true
cp: cannot stat 'vendor/native-secrets/ruby/secrets.rb': No such file or directory
cp vendor/native-secrets/fonts/ss-kickstarter.otf app/src/main/assets/fonts/ss-kickstarter.otf || true
cp: cannot stat 'vendor/native-secrets/fonts/ss-kickstarter.otf': No such file or directory
cp vendor/native-secrets/android/fabric.properties app/fabric.properties || cp config/fabric.properties.example app/fabric.properties
cp: cannot stat 'vendor/native-secrets/android/fabric.properties': No such file or directory
cp vendor/native-secrets/android/slack.properties app/slack.properties || true
cp: cannot stat 'vendor/native-secrets/android/slack.properties': No such file or directory
cp vendor/native-secrets/android/firebase.properties app/firebase.properties || cp config/firebase.properties.example app/firebase.properties
cp: cannot stat 'vendor/native-secrets/android/firebase.properties': No such file or directory

Copy web client over.

cp -rf vendor/native-secrets/android/WebViewJavascriptInterface.java app/src/main/java/com/kickstarter/libs/WebViewJavascriptInterface.java
|| cp -rf config/WebViewJavascriptInterface.java app/src/main/java/com/kickstarter/libs/WebViewJavascriptInterface.java
cp: cannot stat 'vendor/native-secrets/android/WebViewJavascriptInterface.java': No such file or directory
cp -rf vendor/native-secrets/android/KSWebViewClient.java app/src/main/java/com/kickstarter/services/KSWebViewClient.java
|| cp -rf config/KSWebViewClient.java app/src/main/java/com/kickstarter/services/KSWebViewClient.java
cp: cannot stat 'vendor/native-secrets/android/KSWebViewClient.java': No such file or directory
mkdir -p app/src/main/assets/www/
cp vendor/native-secrets/android/WebViewJavascript.html app/src/main/assets/www/WebViewJavascript.html || true
cp: cannot stat 'vendor/native-secrets/android/WebViewJavascript.html': No such file or directory
./script/bootstrap
Starting bootstrap

find: warning: you have specified the -depth option after a non-option argument -name, but options are not positional (-depth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

find: paths must precede expression: `1'
Running bundle install

./script/bootstrap: 28: ./script/bootstrap: bundle: not found
Bootstrapping configs

cp: cannot stat 'vendor/native-secrets/android/externalDebug/google-services.json': No such file or directory
cp: cannot stat 'vendor/native-secrets/android/externalRelease/google-services.json': No such file or directory
cp: cannot stat 'vendor/native-secrets/android/internalDebug/google-services.json': No such file or directory
cp: cannot stat 'vendor/native-secrets/android/internalRelease/google-services.json': No such file or directory
cp: cannot stat 'vendor/native-secrets/android/regressionDebug/google-services.json': No such file or directory
cp: cannot stat 'vendor/native-secrets/android/regressionRelease/google-services.json': No such file or directory
File app/kickstarter.keystore does not exist, this will prevent you from creating release builds.
To fix this, download the keystore from s3://android-ksr-keystores/kickstarter.keystore to app/kickstarter.keystore.

Bootstrap complete!

from android-oss.

moryzaky avatar moryzaky commented on June 10, 2024

I have the same problem. Any update?

from android-oss.

NurseyitTursunkulov avatar NurseyitTursunkulov commented on June 10, 2024

I have the same problem. Any update?

no

from android-oss.

Arkariang avatar Arkariang commented on June 10, 2024

You need to create your own Firebase account and download from there your google-services.json. We cannot share that information in a public repository as you can imagine.
Cheer folks and thanks for the interest in our source code

from android-oss.

Related Issues (20)

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.