Project

General

Profile

Actions

dev #1529

open

In App Purchase Functional POC & Implementation

Added by Ayat Rahman over 1 year ago. Updated over 1 year ago.

Status:
In Progress
Priority:
High
Assignee:
Target version:
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:

  1. 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.
  2. Setup Apple Connect:

    • Create or verify the app's presence in Apple Connect.
    • Set up the necessary IAP configurations, including products and pricing.
  3. 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).
  4. 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.
  5. 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

Also available in: Atom PDF