-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: close contact modal after deletion (#141) Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * fix: import wallet failure scenario (#142) * fix: import wallet failure scenario Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * fix: connection already exists Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * chore: bump ios version Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> --------- Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * fix: scanning qrcode multiple times (#143) Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * feat/social-share certificate (#144) Co-authored-by: Sai Ranjit Tummalapalli <[email protected]> Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * feat: deeplink with universal link (#145) * feat: add agent link as deep link Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * chore: bump iOS version Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> --------- Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * fix deep link issue (#147) * feat: add agent link as deep link Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * chore: bump iOS version Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * chore: bump versions Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> --------- Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * feat: add remote verification templates (#148) * feat: add remote verification templates Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * chore: bump versions Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * fix: verifier capability for previous version Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> --------- Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> --------- Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> Co-authored-by: poonam-ghewande <[email protected]>
- Loading branch information
1 parent
10d283a
commit e9945c2
Showing
41 changed files
with
784 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ local.properties | |
.cxx/ | ||
*.keystore | ||
!debug.keystore | ||
*.aab | ||
|
||
# node.js | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,68 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="id.credebl.adeya" | ||
xmlns:tools="http://schemas.android.com/tools"> | ||
<uses-permission android:name="android.permission.USE_BIOMETRICS" /> | ||
<uses-permission android:name="android.permission.USE_FINGERPRINT" /> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.VIBRATE" /> | ||
<uses-permission-sdk-23 android:name="android.permission.VIBRATE" /> | ||
<uses-permission android:name="android.permission.CAMERA" /> | ||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> | ||
|
||
<queries> | ||
<intent> | ||
<action android:name="android.intent.action.VIEW" /> | ||
<data android:scheme="https" /> | ||
</intent> | ||
</queries> | ||
|
||
<application android:name=".MainApplication" android:label="@string/app_name" | ||
android:icon="@mipmap/ic_launcher" android:allowBackup="false" android:theme="@style/AppTheme" | ||
android:usesCleartextTraffic="true" | ||
android:requestLegacyExternalStorage="true"> | ||
<activity android:name=".MainActivity" android:label="@string/app_name" | ||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" | ||
android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" | ||
android:screenOrientation="portrait" android:exported="true"> | ||
|
||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
|
||
<intent-filter> | ||
<action android:name="android.intent.action.VIEW" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
<category android:name="android.intent.category.BROWSABLE" /> | ||
<data android:scheme="didcomm" /> | ||
<data android:scheme="adeyawallet" /> | ||
</intent-filter> | ||
</activity> | ||
</application> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="id.credebl.adeya" | ||
xmlns:tools="http://schemas.android.com/tools"> | ||
|
||
<uses-permission android:name="android.permission.USE_BIOMETRICS" /> | ||
<uses-permission android:name="android.permission.USE_FINGERPRINT" /> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.VIBRATE" /> | ||
|
||
<uses-permission-sdk-23 android:name="android.permission.VIBRATE" /> | ||
|
||
<uses-permission android:name="android.permission.CAMERA" /> | ||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> | ||
|
||
<queries> | ||
<intent> | ||
<action android:name="android.intent.action.VIEW" /> | ||
<data android:scheme="https" /> | ||
</intent> | ||
</queries> | ||
|
||
<application | ||
android:name=".MainApplication" | ||
android:label="@string/app_name" | ||
android:icon="@mipmap/ic_launcher" | ||
android:allowBackup="false" | ||
android:theme="@style/AppTheme" | ||
android:usesCleartextTraffic="true" | ||
android:requestLegacyExternalStorage="true"> | ||
<activity | ||
android:name=".MainActivity" | ||
android:label="@string/app_name" | ||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" | ||
android:launchMode="singleTask" | ||
android:windowSoftInputMode="adjustResize" | ||
android:screenOrientation="portrait" | ||
android:exported="true"> | ||
|
||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
|
||
<intent-filter android:autoVerify="true"> | ||
<action android:name="android.intent.action.VIEW" /> | ||
|
||
<category android:name="android.intent.category.DEFAULT" /> | ||
<category android:name="android.intent.category.BROWSABLE" /> | ||
|
||
<data android:scheme="didcomm" /> | ||
<data android:scheme="adeyawallet" /> | ||
</intent-filter> | ||
|
||
<intent-filter android:autoVerify="true"> | ||
<action android:name="android.intent.action.VIEW" /> | ||
|
||
<category android:name="android.intent.category.DEFAULT" /> | ||
<category android:name="android.intent.category.BROWSABLE" /> | ||
|
||
<data android:scheme="https" /> | ||
|
||
<data android:host="agent.credebl.id" /> | ||
</intent-filter> | ||
|
||
</activity> | ||
</application> | ||
</manifest> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export const ORG_PROFILE = '/orgs/public-profile' | ||
export const ORG_DETAILS = '/orgs/public-profiles/' | ||
export const USER_CERTIFICATE = '/users/certificate' | ||
export const PAGE_SIZE = 20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,36 @@ | ||
import { useMemo } from 'react' | ||
import { useEffect, useState } from 'react' | ||
|
||
import { ProofRequestTemplate } from '../../verifier' | ||
import { useConfiguration } from '../contexts/configuration' | ||
import { applyTemplateMarkers, useRemoteProofBundleResolver } from '../utils/proofBundle' | ||
|
||
export const useTemplates = (): Array<ProofRequestTemplate> => { | ||
const { proofRequestTemplates } = useConfiguration() | ||
return proofRequestTemplates || [] | ||
const [proofRequestTemplates, setProofRequestTemplates] = useState<ProofRequestTemplate[]>([]) | ||
const { proofTemplateBaseUrl } = useConfiguration() | ||
const resolver = useRemoteProofBundleResolver(proofTemplateBaseUrl) | ||
const acceptDevCredentials = false | ||
useEffect(() => { | ||
resolver.resolve(acceptDevCredentials).then(templates => { | ||
if (templates) { | ||
setProofRequestTemplates(applyTemplateMarkers(templates)) | ||
} | ||
}) | ||
}, []) | ||
return proofRequestTemplates | ||
} | ||
|
||
export const useTemplate = (templateId: string): ProofRequestTemplate | undefined => { | ||
const { proofRequestTemplates } = useConfiguration() | ||
return useMemo(() => proofRequestTemplates?.find(template => template.id === templateId), [templateId]) | ||
const [proofRequestTemplate, setProofRequestTemplate] = useState<ProofRequestTemplate | undefined>(undefined) | ||
const { proofTemplateBaseUrl } = useConfiguration() | ||
const resolver = useRemoteProofBundleResolver(proofTemplateBaseUrl) | ||
const acceptDevCredentials = false | ||
|
||
useEffect(() => { | ||
resolver.resolveById(templateId, acceptDevCredentials).then(template => { | ||
if (template) { | ||
setProofRequestTemplate(applyTemplateMarkers(template)) | ||
} | ||
}) | ||
}, []) | ||
return proofRequestTemplate | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.