![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
angular-add-to-home-screen
Advanced tools
An AngularJS directive to display an "add to homescreen" dialog for iOS 7 and iOS 6
An AngularJS directive to display an "add to homescreen" dialog for iOS 7 and iOS 6.
Try it out (hint: your user agent needs to identify as an iOS device).
bower install angular-add-to-home-screen
Hop on over to the releases page and grab angular-add-to-homescreen.js
and aaths.css
or download the source code and use the files in the dist/
folder
dist/angular-add-to-home-screen.js
and include it in your javascript payloadangular.module('myApp', ['angularAddToHomeScreen']);
styles/aaths.css
in your app's CSS :cool:Will show a dialog with the proper icons for the platform
<div ng-add-to-homescreen></div>
This plugin does not style anything for you. It is completely up to you to
style the dialog in whatever way makes sense for your application. However, this is
a fully styled example in the example/
directory. Check out example.css
. Feel
free to just copy the styles into your project.
div.aaths-container
a.aaths-close // close button
div.aaths-instructions
span.aaths-iOS6-icon // "share" icon if iOS6
span.aaths-iOS7-icon // "share" icon if iOS7
If you are using this script you might want to make a modal window pop up with the instructions, or you might want to make one of those trendy app banners up top. I don't discriminate, use this to do the hard stuff and you can style it however you want.
Issues and pull requests greatly appreciated. Please be on the lookout for:
MIT
FAQs
An AngularJS directive to display an "add to homescreen" dialog for iOS 7 and iOS 6
We found that angular-add-to-home-screen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.