Giter Site home page Giter Site logo

Comments (8)

ahmamedhat avatar ahmamedhat commented on August 25, 2024 1

@abhishek-netizen Thank you

from eigen.

brainbicycle avatar brainbicycle commented on August 25, 2024 1

Hey we merged a PR recently that we believe should fix this: #7024, there are instructions in https://github.com/artsy/eigen/blob/main/docs/getting_started.md for independent contributors, let us know if you still have trouble!

from eigen.

AAverin avatar AAverin commented on August 25, 2024 1

@brainbicycle #7024 seems to fixes Google Services for iOS, but not for Android

from eigen.

ahmamedhat avatar ahmamedhat commented on August 25, 2024

Yeah, Me too

from eigen.

abhishek-netizen avatar abhishek-netizen commented on August 25, 2024

@ahmamedhat hey just add google-service.json file to project/android folder,
create that g-service.json file by creating a project in firebase, & dont forget to edit the "package_name" inside g-s.json file to
"package_name": "net.artsy.app"

from eigen.

ahmamedhat avatar ahmamedhat commented on August 25, 2024

@abhishek-netizen Hey, now I'm getting errors as the .env.example values all has '-' value, compiler is telling me that these values are undefined.

a:57: error: cannot find symbol
String segmentWriteKey = BuildConfig.SEGMENT_PRODUCTION_WRITE_KEY_ANDROID;
^
symbol: variable SEGMENT_PRODUCTION_WRITE_KEY_ANDROID
location: class net.artsy.app.BuildConfig
/Users/ahmadmedhat/Documents/React-Native-Practice/eigen/android/app/src/main/java/net/artsy/app/MainApplication.java:59: error: cannot find symbol
segmentWriteKey = BuildConfig.SEGMENT_STAGING_WRITE_KEY_ANDROID;
^
symbol: variable SEGMENT_STAGING_WRITE_KEY_ANDROID
location: class net.artsy.app.BuildConfig
/Users/ahmadmedhat/Documents/React-Native-Practice/eigen/android/app/src/main/java/net/artsy/app/MainApplication.java:61: error: cannot find symbol
Analytics analytics = new Analytics.Builder(this, ReactNativeConfigUtils.decode(segmentWriteKey, BuildConfig.XOR_KEY))
^
symbol: variable XOR_KEY
location: class net.artsy.app.BuildConfig
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

from eigen.

abhishek-netizen avatar abhishek-netizen commented on August 25, 2024

same here, i am facing this error too, is there any example to get to know what to send in env file

from eigen.

AAverin avatar AAverin commented on August 25, 2024

I have used this mock version to workaround:

{
  "project_info": {
    "project_id": "PRODJECT-ID",
    "project_number": "PROJECT-NUMBER",
    "name": "APPLICATION-NAME"
  },
  "client": [
    {
      "client_info": {
        "mobilesdk_app_id": "1:PROJECT-NUMBER:android:HASH-FOR-FLAVOR1",
        "client_id": "android:net.artsy.app",
        "client_type": 1,
        "android_client_info": {
          "package_name": "net.artsy.app"
        }
      },
      "oauth_client": [
        {
          "client_id": ""
        }
      ],
      "api_key": [
        {
          "current_key": ""
        }
      ],
      "services": {
        "analytics_service": {
          "status": 1
        },
        "cloud_messaging_service": {
          "status": 2,
          "apns_config": []
        },
        "appinvite_service": {
          "status": 1,
          "other_platform_oauth_client": []
        },
        "google_signin_service": {
          "status": 1
        },
        "ads_service": {
          "status": 1
        }
      }
    }
  ],
  "client_info": [],
  "ARTIFACT_VERSION": "1"
}

from eigen.

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.