AssetLinks | Add download links to asset fields in Craft CMS | Plugin library

 by   Hambrook PHP Version: Current License: No License

kandi X-RAY | AssetLinks Summary

kandi X-RAY | AssetLinks Summary

AssetLinks is a PHP library typically used in Plugin applications. AssetLinks has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

A Craft CMS extension to automatically add download links to files in the Assets fields on entries. There will now be a new icon beside the "Delete" icon for each file when you’re viewing an entry with assets fields.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              AssetLinks has a low active ecosystem.
              It has 9 star(s) with 1 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 3 have been closed. On average issues are closed in 3 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of AssetLinks is current.

            kandi-Quality Quality

              AssetLinks has 0 bugs and 0 code smells.

            kandi-Security Security

              AssetLinks has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              AssetLinks code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              AssetLinks does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              AssetLinks releases are not available. You will need to build from source code and install.
              It has 38 lines of code, 6 functions and 3 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed AssetLinks and discovered the below as its top functions. This is intended to give you an instant insight into AssetLinks implemented functionality, and help decide if they suit your requirements.
            • Include assets .
            • Get the name of the asset links .
            • Get the version number .
            • Get developer name
            • Get the developer URL .
            • Returns true if there is a Cp section .
            Get all kandi verified functions for this library.

            AssetLinks Key Features

            No Key Features are available at this moment for AssetLinks.

            AssetLinks Examples and Code Snippets

            No Code Snippets are available at this moment for AssetLinks.

            Community Discussions

            QUESTION

            How to verify android app links on android 12 and higher?
            Asked 2022-Feb-16 at 09:54

            Problem is opening application over link in android 12 or higher.

            Everything works fine on lower versions of android.

            When I look at my “App Info” -> “Open by default” screen. I see unapproved links.

            When I turn on that link as approved inside supported web addresses, opening app via link works.

            I have read about verifying intent filter inside android documentation and everything looks fine to me.

            https://developer.android.com/training/app-links/verify-site-associations#add-intent-filters

            Have aded .well-known/assetlinks.json to my domain https://my.domain.net/.well-known/assetlinks.json content of .well-known/assetlinks.json (generated and checked with https://developers.google.com/digital-asset-links/tools/generator)

            ...

            ANSWER

            Answered 2022-Feb-16 at 09:54

            What changed?

            As from Android 12 they have introduced a new way of checking for supported web domains.

            Lower versions of android remain unchanged.


            How does verification in android 12 works?

            On installing the application android sends async requests to domains inside intent links to check if .well-known/assetlinks.json exists and is valid.


            How to generate assetlinks.json?

            I recommend using this tool google provides for generating that file. It can also check if assetlinks.json is present and setup correctly.
            Generator: https://developers.google.com/digital-asset-links/tools/generator

            Where to get SHA-256 form?

            1. Open Android Studio
            2. Open your Project
            3. Click on Gradle (From Right Side Panel, you will see Gradle Bar)
            4. Click on Refresh (Click on Refresh from Gradle Bar, you will see List
            5. Gradle scripts of your Project)
            6. Click on Your Project (Your Project Name form List (root))
            7. Click on Tasks
            8. Click on Android
            9. Double Click on signingReport (You will get SHA1 and MD5 in Run Bar(Sometimes it will be in Gradle Console))
            10. Select app module from module selection dropdown to run or debug your application

            After you have generated .json file, at put it inside root of domain (.well-known/assetlinks.json).
            I recommend opening it manually just to make sure.
            https://my.domain.com/.well-known/assetlinks.json

            Setting up Intent links in application
            To you AndroidManifest.xml add

            Source https://stackoverflow.com/questions/71079961

            QUESTION

            Flutter Web how to serve file assetlinks.json for Android App Links verification
            Asked 2022-Feb-05 at 13:23

            I am deploying a Flutter Web App on Firebase Hosting.

            And a Flutter App on Android.

            To use App Links that redirect to my Android application, I need to verify the App Links serving the file assetlinks.json on the web at https://example.com/.well-known/assetlinks.json

            How can I make the file available, without 3XX redirects, from my domain, that is Flutter deployed on the web with firebase hosting?

            ...

            ANSWER

            Answered 2022-Feb-01 at 10:49

            If I am not mistaken, Firebase stores files in a so called bucket. The bucket can be directly exposed to the internet or you can use the API to pull the file you need and put it somewhere public on your domain:

            https://firebase.google.com/docs/storage/web/list-files

            To see how to publish files in a gloud bucket, here is a good answer:

            How do you make many files public in Google Cloud Storage?

            Be aware the method described provides public access, so make sure you only expose what you want.

            Source https://stackoverflow.com/questions/70885316

            QUESTION

            Android Deep Linking - Verify App links with website
            Asked 2021-Dec-31 at 06:09

            I am trying to enable deep linking with my app
            I need when I scan the QR from outside my app like using QR Scanner app or using QR scanner in the system, and when I choose the web browser and search with the link, it directs to my app
            I added the code to manifest like this image:

            and when I searched with https://domain.ex/.well-known/assetlinks.json

            and searched with https://digitalassetlinks.googleapis.com/v1/statements:list?source.web.site=https://domain.example&relation=delegate_permission/common.handle_all_urls

            what is the error I had made?

            I am running one release mode and SHA256 is from google play console.

            expected behaviour is: when I search with https://domain.example/pathPrefix it direct to my app

            ...

            ANSWER

            Answered 2021-Dec-31 at 06:09

            I think need to add scheme separately

            Source https://stackoverflow.com/questions/70494348

            QUESTION

            AppLinks on Android 12 - opens browser only
            Asked 2021-Dec-16 at 15:00

            I have the following manifest code:

            ...

            ANSWER

            Answered 2021-Dec-08 at 14:54

            I'm sure you already visit the following link: https://developer.android.com/studio/write/app-link-indexing

            Just a little bit improve your manifest to clean the code

            Source https://stackoverflow.com/questions/70276524

            QUESTION

            Can't link Android app with Digital Asset Link since app doesn't have a signature
            Asked 2021-Nov-30 at 14:29

            I'm trying to to setup a Digital asset link from my website to my app, but I can't get it to work. I made sure the intent-filter was present in my manifest and I uploaded a assetlinks.json file using my Play store signing SHA 256 fingerprint, tested it with Google's statement list and it returned successfuly.

            While going through verification steps again, I checked my device's app links with adb -d shell pm get-app-links --user current com.example.app and I realized that my app link didn't have a signature. I'm guessing that's its probably the reason the app can't link to my website since it can't compare a signature to the fingerprints given in the assetlinks.json hosted on my site's server.

            My app link

            ...

            ANSWER

            Answered 2021-Nov-25 at 14:35

            I might just have solved something like this. Things to check:

            Please note, i'm only using imgur.com as an example, I'm not affiliated/working for them in any way.

            1. Check your assetlinks.json, and compare it to a working one (e.g. https://imgur.com/.well-known/assetlinks.json). You could also test your file like so: https://digitalassetlinks.googleapis.com/v1/statements:list?source.web.site=https://imgur.com&relation=delegate_permission/common.handle_all_urls
            2. Next, check your AndroidManifest.xml, and ensure that the attribute android:autoVerify="true" is set on the intent-element (By mistake, I've declared mine on the activity-element) which caused same problem as above):

            Source https://stackoverflow.com/questions/69942740

            QUESTION

            AssetLinks file expected traffic and failure scenarios
            Asked 2021-Nov-01 at 17:08

            I am working on setting up my Android app to work with HTTP Web Links according to the various guides and protocols and have successfully setup the deeplinks which includes serving my assetlinks file from /.well-known/assetlinks.json. Everything is working as expected. What I am struggling with from an operational perspective is how to go about maintaining this file -- specifically during update and failure scenarios.

            Let's say I have existing customers who have downloaded my app and are using weblinks just fine. I update my assetlink file and push the new version to my server. When do my customers get the updated assetlink file? Is the OS configured to check for updates on some cadence or app launch? Is it only on app update or reinstall?

            Similarly, imagine my website is down. New users are installing my app and the OS will not be able to associate my domain and when customers click the HTTP web links they will not be deeplinked into the app. This makes sense. But after I recover from my outage when will the customer get their assetlink file given the app is already installed?

            Similarly lets say I upload an invalid assetlinks.json file. Will this break the current web links for existing customers who already had a valid association when they first installed the app?

            Understanding these issues will ultimately help me better troubleshoot customer issues and tune the expected traffic I should expect to see for my assetlinks file from my server.

            ...

            ANSWER

            Answered 2021-Nov-01 at 17:08

            Let me try to briefly put down how app linking works. I'm listing down all the things which I have learned gathered while playing with app links. Also attaching a very good article which covers in more details about the following.

            There are two key components in registering and updating app links: Package manager and Intent Filter Verifier. These are the usual steps in which the workflow runs:

            1. Every time an app is installed or updated through the package manager an intent named INTENT_FILTER_NEEDS_VERIFICATION is generated.

            2. The Intent Filter Verifier looks up the domains specified in the tags defined in the manifest of your app.

            3. For every domain/hostname specified for the app, the IntentFilterVerfier tries to fetch statements for each of the domain using an API call.

              • A sample API call for the domain google.com looks like this
              • The APIs documentation of this is carefully hidden by google at Digital Asset Links
            4. Based on the result of the API call, the domain/hostname is categorized into one of the following buckets

            Source https://stackoverflow.com/questions/69744408

            QUESTION

            Android: An error occurred while trying to get the sha-256 fingerprint of the keystore file
            Asked 2021-Oct-12 at 14:08

            I'm trying to create an App link but the App links assistant keeps throwing the below error in Step 3 (Associate website) while generating the assetlinks.json.

            An error occurred while trying to get the sha-256 fingerprint of the keystore file. Please make sure that your keystore file is correct.

            I have tried both the options but getting the same error:

            1. Signing config - debug
            2. Keystore file - Created a new keystore from Build > Generate signed Bundle/Apk > Apk > Create New

            Am I missing something? I'm on Android Studio Arctic Fox | 2020.3.1 Patch 3 Is there a way to create the JSON file without using the App links assistant?

            ...

            ANSWER

            Answered 2021-Oct-12 at 14:08

            QUESTION

            How to not need a .dotted file path in nginx configuration
            Asked 2021-Sep-30 at 19:15

            I'm trying to serve my AppLink for google association services. The following works:

            ...

            ANSWER

            Answered 2021-Sep-30 at 06:46

            You can use try_files to find the specific file you want.

            For example:

            Source https://stackoverflow.com/questions/69384022

            QUESTION

            TWA shows address bar even if assetlink is correct
            Asked 2021-Aug-24 at 07:06

            I'm using the PWABuilder to create the apk but whenever I build it, change the fingerprint and install the app, the address bar always shows up.

            I used the "Asset links tool" to check if everything was correct and it seems to be so, assetlink fingerprint is the exact same. I've had this issue only after the latest update of PWABuilder, i'm not sure if it's related.

            Website manifest and assetlink: https://github.com/Specy/specy.github.io/tree/master/skyMusic Website URL: https://specy.github.io/skyMusic/ Asset links: https://specy.github.io/skyMusic/.well-known/assetlinks.json APK: https://cdn.discordapp.com/attachments/771432833034092554/878028887584550952/Sky_Music_Nightly.apk

            I tried on two different devices too.

            ...

            ANSWER

            Answered 2021-Aug-24 at 02:37

            have you tried checking the logs using the following command?

            adb logcat -v brief | grep -e OriginVerifier -e digital_asset_links

            most likely there's an issue (perhaps with the package name) in your asset link file.

            also worth checking you can actually view the assetlink file by browsing to the url (https://example.com/.well-known/assetlinks.json) if you can't see that from your device then it wont work.

            Source https://stackoverflow.com/questions/68877474

            QUESTION

            Exclude or allow only certain urls using assetlinks.json
            Asked 2021-Jul-27 at 22:45

            Hello Everybody I am currently working with assetlinks.json trying to exclude urls containing the "/adm/" directory, in IOS I can do this defining into my https://mysite/.well-known/apple-app-site-association file this:

            ...

            ANSWER

            Answered 2021-Jul-27 at 22:45

            There´s a way to exclude certain urls using the assetlinks.json file?

            No. That is not the role of assetlinks.json. assetlinks.json ties domains to apps via the signing key fingerprints. It does not tie URLs to apps. Your rules for which URLs to handle would go in your for the relevant activity.

            Source https://stackoverflow.com/questions/68552447

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install AssetLinks

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Hambrook/AssetLinks.git

          • CLI

            gh repo clone Hambrook/AssetLinks

          • sshUrl

            git@github.com:Hambrook/AssetLinks.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link