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

fix: Support AGP8 namespace #467

Merged
merged 1 commit into from
Dec 18, 2023
Merged

fix: Support AGP8 namespace #467

merged 1 commit into from
Dec 18, 2023

Conversation

dev-yakuza
Copy link
Contributor

@dev-yakuza dev-yakuza commented Dec 14, 2023

First, thanks for the great package.

Now, Flutter supports AGP8, so I try to use it.

But, I got the following error.

Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.
ain

And, I realize flutter_inapp_purchase doesn't support the namespace.

This PR is not perfect to support the AGP8, but it can fix the namespace issue simply.

Reference

Copy link

codecov bot commented Dec 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a94c705) 47.24% compared to head (649725d) 47.24%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #467   +/-   ##
=======================================
  Coverage   47.24%   47.24%           
=======================================
  Files           3        3           
  Lines         472      472           
=======================================
  Hits          223      223           
  Misses        249      249           

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

@dev-yakuza
Copy link
Contributor Author

@hyochan I understand you are very busy,but could you check this PR? 🙏

@dev-yakuza
Copy link
Contributor Author

Before merging the PR, I decide to use the following way.

-  flutter_inapp_purchase: ^5.6.0
+  flutter_inapp_purchase:
+    git:
+      url: https://github.com/dev-yakuza/flutter_inapp_purchase.git
+      ref: fix-agp8

Copy link
Owner

@hyochan hyochan left a comment

Choose a reason for hiding this comment

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

Sorry for the late review! Looks great~
I'll merge this and release to 5.6.1

@hyochan hyochan merged commit a498c99 into hyochan:main Dec 18, 2023
3 checks passed
JoyHong pushed a commit to JoyHong/flutter_inapp_purchase that referenced this pull request Jun 17, 2024
First, thanks for the great package.

Now, Flutter supports `AGP8`, so I try to use it.

But, I got the following error.

```
Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.
ain
```

And, I realize `flutter_inapp_purchase` doesn't support the `namespace`.

This PR is not perfect to support the `AGP8`, but it can fix the
`namespace` issue simply.

Reference
-
flutter/flutter#125181 (comment)
-
flutter/flutter#125621 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants