[IOU] Add isAppInstalled logic to Expensify.cash
See original GitHub issueIf you haven’t already, check out our contributing guidelines for onboarding!
view the post on Upwork here.
Platform - version:
current
We require a method of detecting installed apps for the Expensify.cash app on Android & iOS.
- Install and implement the react-native-check-app-install package.
- Create a helper function under libs
isAppInstalled()
(similar to getPlatform) which takes two params:iosScheme, androidPackageId
, and returns true if the selected app is installed. - Within the helper function,
getPlatform()
should be used to determine which library function to use:- Android:
AppInstalledChecker.isAppInstalledAndroid(androidPackageId)
- iOS:
AppInstalledChecker.checkURLScheme(iosScheme)
- Android:
- As this is only used on mobile, this should be build within an
index.native.js
file (unfortunately the params are different for iOS/Android, so we cant createindex.android.js|
index.ios.js``). Also, the defaultindex.js
function should always return false.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
[IOU] Add isAppInstalled logic to Expensify.cash #1526 - GitHub
Create a helper function under libs isAppInstalled() (similar to getPlatform) which takes two params: iosScheme, androidPackageId , and returns true if the ...
Read more >Adding Payment Methods - Expensify Community
If you are tracking your expenses that are reimbursable, they default to cash. It won't get granular and say cash or type of...
Read more >Adding more export options for your reports
Today we're happy to announce a handful of new default exports available in every Expensify account to make this process even easier. While...
Read more >Expensify Terms of Service | Our Terms of Use
To the extent permitted by law, you grant Expensify the right to apply or set off any money or credit balance in which...
Read more >Expensify: Easy Money
Sign up or log in to automate your preaccounting process for expenses, bills, invoices, and more! Start a free trial and see why...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @Julesssss I accept the offer. We can handle it inside
native.js
. I will work on this 👍🏻Thanks for all of your proposals and comments! @Maftalion I’m going to pass this issue onto the second responder as you were hired for #1508.
@SameeraMadushan, would you like to move forward with the implementation? Thanks for your suggestion about reusing
checkURLScheme
for Android, we should also be able to use a singlenative.js
file for both Android & iOS.