Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ios): initialize appsflyer #8951

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from
Open

Conversation

CatsJuice
Copy link
Member

@CatsJuice CatsJuice commented Nov 27, 2024

close AF-1740

Copy link

graphite-app bot commented Nov 27, 2024

Your org has enabled the Graphite merge queue for merging into canary

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@github-actions github-actions bot added the mod:i18n Related to i18n label Nov 27, 2024
Copy link
Member Author

CatsJuice commented Nov 27, 2024


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

nx-cloud bot commented Nov 28, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 0d7072d. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.69%. Comparing base (c95e6ec) to head (0d7072d).

Additional details and impacted files
@@            Coverage Diff             @@
##           canary    #8951      +/-   ##
==========================================
- Coverage   64.74%   64.69%   -0.06%     
==========================================
  Files         664      664              
  Lines       37338    37338              
  Branches     3607     3607              
==========================================
- Hits        24176    24156      -20     
- Misses      12795    12815      +20     
  Partials      367      367              
Flag Coverage Δ
server-test 77.07% <ø> (-0.07%) ⬇️
unittest 34.59% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

- name: Write afdevkey
working-directory: packages/frontend/apps/ios/App
run: |
echo "${{ env.APPSFLYER_DEV_KEY }}" | base64 --decode -o App/afdevkey.plist
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The path should be afdevkey.plist since the working-directory directive has already placed execution context in the App directory. The current path App/afdevkey.plist will attempt to write to a non-existent nested directory.

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

@CatsJuice CatsJuice marked this pull request as ready for review November 28, 2024 07:10
Comment on lines +126 to +129
- name: Write afdevkey
working-directory: packages/frontend/apps/ios/App
run: |
echo "${{ env.APPSFLYER_DEV_KEY }}" | base64 --decode -o App/afdevkey.plist
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add error checking and validation for the APPSFLYER_DEV_KEY environment variable. Consider: 1) Checking if env var exists before attempting decode, 2) Validating decoded content is valid plist format, 3) Adding conditional to skip if not configured. Example: if [ -n "$APPSFLYER_DEV_KEY" ]; then echo "$APPSFLYER_DEV_KEY" | base64 --decode > App/afdevkey.plist || exit 1; fi

Spotted by Graphite Reviewer (based on CI logs)

Is this helpful? React 👍 or 👎 to let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod:i18n Related to i18n
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant