79753504

Date: 2025-09-02 12:41:24
Score: 2.5
Natty:
Report link
Thanks my apk file has run sccessfully after change something in my code 
actually, I used clerk authentions 
When  wrap ourapp with <ClerkProvider>, it needs to know which Clerk project to connect to.

That’s what the publishable key does — it tells Clerk’s SDK:

“This is Surya’s Clerk project, authenticate users here.”

my app file (_layout.jsx), 
when I use <ClerkProvider> without passing the publishableKey.

import { Slot, Stack } from "expo-router";
import SafeScreen from "@/components/SafeScreen";
import { ClerkProvider } from "@clerk/clerk-expo";
import { tokenCache } from "@clerk/clerk-expo/token-cache";
import { StatusBar } from "expo-status-bar";

export default function RootLayout() {
  console.log(process.env.EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY);

  return (
    <ClerkProvider
      tokenCache={tokenCache}
      publishableKey={process.env.EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY}>
      <SafeScreen>
        <Slot />
      </SafeScreen>
      <StatusBar style="dark" />
    </ClerkProvider>
  );
}
after that I have made changes in my eas.json file 

{
  "cli": {
    "version": ">= 16.18.0",
    "appVersionSource": "remote"
  },

  "build": {
    "development": {
      "android": {
        "buildType": "apk"
      },
      "developmentClient": true
    },
    "preview": {
      "android": {
        "buildType": "apk"
      },
      "distribution": "internal"
    },
    "production": {}
  }
}

I given below my apk file
https://expo.dev/accounts/surya_04/projects/Expense-tracker/builds/3c08a69e-ae7d-440e-a3a7-7e66b0c8f241

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Surya