Skip to content

Conversation

@obaidgini
Copy link
Contributor

Pull Request Description

Ticket# PP-1727

Notes for Reviewers

  • Saves the camera photos in gallery
  • Storage Access Framework (SAF) technique is used for this. For more information please check this link
  • Please read the comments in respective class for better understanding of every new added class, also I have tried to put the commit messages which can explain what steps are performed.

Very Important classes for review

  • AnalysisFragmentImpl
  • AnalysisFragment
  • SAFHelper
  • SaveInvoicesFeatureEvaluator
  • MultiPageReviewFragment
  • FragmentImplCallback
  • AnalysisScreenPresenter

Important

Please note that this is not completed yet, so the design related work is still in progress.
Thank you

… the design, this is temporary, will be changed according to new design

PP-1727
… and will be changed in next commits

PP-1727
… app, so the first time behaviour can be initiated again without uninstalling and re-install

PP-1727
…e the indication about save invoice feature

PP-1727
… in orientation change, the lock was held forever and SDK was going to ANR state

PP-1727
…entImpl that saving invoices feature is turned off or on

PP-1727
…ew should be shown depending on conditions or not

PP-1727
…nk sdk example app, also putting the button for clearing the path of SAF folder, to simulate "first time" flow where we get the permission from user

PP-1727
@obaidgini obaidgini marked this pull request as ready for review October 22, 2025 16:05
static AnalysisFragmentImpl createFragmentImpl(@NonNull final FragmentImplCallback fragment, @NonNull CancelListener cancelListener,
@NonNull final Bundle arguments) {
final Document document = arguments.getParcelable(ARGS_DOCUMENT);
final Boolean mIsInvoiceSavingEnabled = arguments.getBoolean(GC_ARGS_SAVE_INVOICES, false);
Copy link
Contributor

Choose a reason for hiding this comment

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

could you explain me what is m in this name of "mIsInvoiceSavingEnabled" ?

Copy link
Contributor

@MozhganPeivandianSharbaf MozhganPeivandianSharbaf left a comment

Choose a reason for hiding this comment

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

thank you @obaidgini, I just added some small comment, please check.

Copy link
Contributor

@MozhganPeivandianSharbaf MozhganPeivandianSharbaf left a comment

Choose a reason for hiding this comment

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

Thank you, Looks good 👍

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