Comments (7)
When using App Signing, Google Play will not provide you with the certificate used to sign the final APK, so you won't be able to use it for debugging.
One alternative would be to modify your assetstatements.json file to contain both the fingerprint used by the Play Store and the one for your debug key.
The sha256_cert_fingerprints
is an array and you could do something like used here.
from svgomg-twa.
@andreban it works, thanks
from svgomg-twa.
Great to hear that! Maybe it's worth asking / replying on StackOverflow, as it would help others with the same questions to find it. We have a tag for TWAs. Let me know if you'd like to post the question and answer.
from svgomg-twa.
@andreban yep, it is very helpful if we can post this question to StackOverflow.
thanks.
from svgomg-twa.
When using App Signing, Google Play will not provide you with the certificate used to sign the final APK, so you won't be able to use it for debugging.
One alternative would be to modify your assetstatements.json file to contain both the fingerprint used by the Play Store and the one for your debug key.
The
sha256_cert_fingerprints
is an array and you could do something like used here.
Hi,
Is it possible to post the solution here? The website link is down.
Should I just use both keys in sha256_cert_fingerprints
or make another relation object as in linking for multiple apps?
from svgomg-twa.
You should make multiple relation objects, for example my assetlinks.json file is:
[{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "dev.conn.drink",
"sha256_cert_fingerprints": [
"8C:18:7D:26:05:EE:2E:AF:4B:76:20:6F:39:7B:04:13:91:A2:E2:EC:C4:43:04:E1:25:E8:B8:E0:F4:73:5F:80"
]
}
},
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "dev.conn.drink",
"sha256_cert_fingerprints": [
"73:9E:C8:99:79:F1:A3:7F:12:95:54:D8:A5:8E:BB:8B:BB:52:76:15:F8:FC:CB:10:D5:E4:44:89:BD:4B:8E:3A"
]
}
},
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "dev.conn.drink",
"sha256_cert_fingerprints": [
"3B:C3:C4:34:CB:E5:96:62:FF:D7:3B:19:65:64:1A:E3:AF:DF:67:FE:E9:43:34:22:DE:72:E9:BE:D9:26:DA:3A"
]
}
}]
from svgomg-twa.
@PEConn
Thanks a lot for the quick response. It is working.
from svgomg-twa.
Related Issues (20)
- TWA top url bar not hiding HOT 2
- Unable to instantiate service androidx.browser.trusted.TrustedWebActivityService HOT 4
- how to use fcm push notification on TWA apk HOT 1
- Does TWA notification delegation handle sound also? HOT 9
- My TWA is crashing multiple times. HOT 7
- [Question] Adsense in PWA/TWA HOT 3
- Setting Notifications to true still asks for permission from user HOT 7
- Hide div in twa in-app browser HOT 1
- Running the TWA from a Chromebook just opens the URL in the browser and not a standalone window HOT 5
- TWA app can't run independently without running chrome browser first HOT 1
- Android TV app HOT 1
- open new a tab (url) inside of TWA by browser which is not inside of TWA HOT 1
- Update Android SDK studio to version 30 HOT 1
- Facebook Comments Plugin Not Working in The TWA HOT 1
- How to prevent app from going into background when a class 0 SMS (flash SMS) pops up thus preventing UPI verification.
- Android generating 404 errors on TWA website
- TWA asset ink is updated but address bar is visible HOT 4
- Android Browser Helper version HOT 2
- Multiple TWAs created for the same domain but google search only indexes one TWA HOT 1
- notifications only display when the phone is unlocked
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svgomg-twa.