MCPcopy Create free account
hub / github.com/auth0/auth0-cli / resolveNativeBundleID

Function resolveNativeBundleID

internal/cli/quickstarts.go:1127–1148  ·  view source on GitHub ↗

resolveNativeBundleID determines the bundle/package ID for native frameworks.

(inputs SetupInputs)

Source from the content-addressed store, hash-verified

1125
1126// resolveNativeBundleID determines the bundle/package ID for native frameworks.
1127func resolveNativeBundleID(inputs SetupInputs) string {
1128 if inputs.BundleID != "" {
1129 return inputs.BundleID
1130 }
1131
1132 cwd, err := os.Getwd()
1133 if err != nil {
1134 return ""
1135 }
1136
1137 switch inputs.Framework {
1138 case "flutter", "react-native":
1139 return readMobileBundleID(cwd)
1140 case "maui", "dotnet-mobile":
1141 if content, ok := findCsprojContent(cwd); ok {
1142 return readDotnetMobileBundleID(content)
1143 }
1144 case "ionic-angular", "ionic-react", "ionic-vue":
1145 return readCapacitorAppID(cwd)
1146 }
1147 return ""
1148}
1149
1150// printNativeGuidance prints post-setup callback URL guidance for native frameworks.
1151func printNativeGuidance(cli *cli, framework, expoScheme, bundleID string) {

Callers 1

createQuickstartAppFunction · 0.85

Calls 4

readMobileBundleIDFunction · 0.85
findCsprojContentFunction · 0.85
readDotnetMobileBundleIDFunction · 0.85
readCapacitorAppIDFunction · 0.85

Tested by

no test coverage detected