-- DetectProject - Native / Mobile --. Auth0 qs setup --app --type native --framework flutter.
(t *testing.T)
| 536 | |
| 537 | // Auth0 qs setup --app --type native --framework flutter. |
| 538 | func TestDetectProject_Flutter(t *testing.T) { |
| 539 | dir := t.TempDir() |
| 540 | writeTestFile(t, dir, "pubspec.yaml", "name: my_flutter_app\nflutter:\n sdk: flutter\n") |
| 541 | // Android/ present -> native (reliable signal for native intent). |
| 542 | mkTestDir(t, dir, "android") |
| 543 | |
| 544 | got := DetectProject(dir) |
| 545 | assert.True(t, got.Detected) |
| 546 | assert.Equal(t, "flutter", got.Framework) |
| 547 | assert.Equal(t, "native", got.Type) |
| 548 | } |
| 549 | |
| 550 | // Auth0 qs setup --app --type native --framework react-native. |
| 551 | func TestDetectProject_ReactNative(t *testing.T) { |
nothing calls this directly
no test coverage detected