add the plugin to your app config
// app.config.ts
[...]
plugins: {
"./plugins/build/datadog-native-initialization.js",
["expo-datadog"],
}
[...]| import { createAnimations } from "@tamagui/animations-moti" | |
| import type { CreateTamaguiProps } from "@tamagui/core" | |
| import { createTamagui } from "@tamagui/core" | |
| import { shorthands } from "@tamagui/shorthands" | |
| import { instrumentSansFont } from "./font" | |
| import { dark, light, tokens } from "./tokens" | |
| export const tamaguiConfig = createTamagui({ | |
| animations: createAnimations({ | |
| fast: { |
| import type { ExpoConfig } from "@expo/config" | |
| const APP_VERSION = "..." | |
| const IS_DEV = process.env.EXPO_PUBLIC_APP_VARIANT !== "production" | |
| const PRIMARY_COLOR = "..." | |
| export default (): ExpoConfig => ({ | |
| android: { |
| export default { | |
| // ... | |
| plugins: [ | |
| [ | |
| "./plugins/build/react-native-wallet.plugin.js", | |
| { | |
| enableApplePayProvisioning: true, | |
| googleTapAndPaySdkPath: "./libs/tapandpay-v18.3.3.zip", | |
| }, | |
| ], |
add the plugin to your app config
// app.config.ts
[...]
plugins: {
"./plugins/build/datadog-native-initialization.js",
["expo-datadog"],
}
[...]| const { wrapWithReanimatedMetroConfig } = require("react-native-reanimated/metro-config") | |
| const { getDatadogExpoConfig } = require("@datadog/mobile-react-native/metro") | |
| const config = getDatadogExpoConfig(__dirname, { | |
| annotateReactComponents: true, | |
| isCSSEnabled: true, | |
| }) | |
| config.transformer.babelTransformerPath = require.resolve("@lingui/metro-transformer/expo") | |
| config.resolver.assetExts.push("svg") |
| name: CI | |
| on: | |
| push: | |
| branches: ['main'] | |
| paths: | |
| - [path you want to trigger this] | |
| jobs: | |
| fingerprint: |
| name: E2E and Production | |
| on: | |
| push: | |
| tags: | |
| - release-* | |
| concurrency: | |
| cancel_in_progress: true | |
| group: ${{ workflow.filename }}-${{ github.ref }} |
| // msw.polyfill.js | |
| import "fast-text-encoding" | |
| import "react-native-url-polyfill/auto" | |
| import { TransformStream } from "web-streams-polyfill" | |
| if (typeof global.TransformStream === "undefined") { | |
| global.TransformStream = TransformStream | |
| } |
| import type { ExpoConfig } from "@expo/config" | |
| const DATADOG_HOST_URLS = [ | |
| { match: "google.com, propagatorTypes: ["TRACECONTEXT"] }, | |
| ] | |
| export default (): ExpoConfig => ({ | |
| // your config | |
| plugins: [ | |
| // your plugins |
| const basic_infos = () => ({ | |
| firstname: 'William', | |
| lastname: 'Castandet', | |
| age: '27', | |
| location: 'London - UK', | |
| email: 'wcastand@gmail.com', | |
| phone: '+44 7 76 22 111 57', | |
| github: 'wcastand', | |
| npm: 'wcastand' | |
| }) |