Actions
dev #1529
openIn App Purchase Functional POC & Implementation
Start date:
12/25/2024
Due date:
12/29/2024 (about 16 months late)
% Done:
60%
Estimated time:
25:00 h
Spent time:
Description
Description:
Conduct a proof of concept (POC) for the functional implementation of In-App Purchase (IAP) in the Flutter CompressPDF mobile application. This includes exploring iOS-specific guidelines, setting up the connection with Apple Connect, handling purchase transactions, and implementing a restore functionality for users to recover their previous purchases.
Tasks:¶
-
Explore iOS In-App Purchase Guidelines:
- Research and document the requirements and best practices for implementing IAP on iOS.
- Understand Apple’s guidelines for subscriptions, one-time purchases, and restoring purchases.
-
Setup Apple Connect:
- Create or verify the app's presence in Apple Connect.
- Set up the necessary IAP configurations, including products and pricing.
-
Purchase Flow:
- Implement the functionality to process a purchase when a user selects a package.
- Ensure that the purchase flow complies with Apple’s guidelines and handles all edge cases (e.g., cancellations, failed transactions).
-
Restore Purchases:
- Add a "Restore" button to the purchase screen.
- Implement functionality to retrieve and validate the user's prior purchases via Apple’s API.
- Update the user's purchase state in the app.
-
Testing:
- Perform end-to-end testing of the purchase flow on iOS devices.
- Test various scenarios, such as successful purchases, failed purchases, and restoring purchases.
Expected Outcome:¶
A functional In-App Purchase module for iOS in the Flutter CompressPDF mobile application that:
- Allows users to securely make purchases.
- Restores prior purchases via the "Restore" button.
- Complies with Apple’s IAP guidelines.
Actions