Flutter: How do I programmatically create home screen/desktop shortcut icons? - flutter

Basically, I have an app that supports multiple profiles, and i would like to give the option of creating icons that link directly to the profile with their own icon and name, which can be sourced dynamically.
I already have deep/dynamic linking set up (whichever one does custom schemes)
I just dont know how to create the icons.
I cant seem to figure out what search queries would find what I want without just finding firebase_dynamic_links as I'm not using Firebase.
It should be a local link that opens the app to the correct profile.
Preferably something that works both on mobile and desktop
This seems like the sort of thing someone would have made a package for, but I cant find it. Please tell me I dont have to create one myself!
There does appear to be others with similar questions, but none are properly answered, besides the firebase_dynamic_links one, which isnt useful to me.
I found firebase_dynamic_links, but as I am not using Firebase, its not what I need.
Nothing I search appears to find what I need... am I missing something obvious?
It should be simple right? Create a shortcut link with an image, name, and destination!

Related

VSCode Extension Development: How can I use Product Icon in a webview?

I want to use some icons displayed on this website in the webview of my extension.
Is this possible and how can this be achieved?
I found a similar question on stackoverflow.
But he doesn't seem to give a clear and usable answer
Additional related question: Can someone explain what the ThemeIcon API does? I see that it accepts two parameters id and color, but I don't know how to use the constructed object.

OwnCloud enhance core features with App (eg. user registration)

I started looking into OwnCloud app development to add some capabilities I would like to my server. To me it seems like Apps can't modify anything like the Login page or User Management page. Is this the case?
I want to build a user registration app and would love to integrate it into the user management page (if not and it has to exist as its own app page not a big deal). The one big problem I see so far is not being able to add a "Register" link to the login page. I could just go in and add it to the source manually, but I would like to keep the App self contained so others can use it too.
If this is not possible to do in an App I may just need to modify the core application and then see if they will accept my feature addition in a pull request.
Thanks to anyone who can shed some light on this for me. I don't want to waste my time trying to figure out how to do it with an App on the platform if it wont be doable.
After a lot of digging around I did figure out a way to do this.
In the App's app.php file, you can force a script to be loaded if the plugin is enabled:
$api->addScript('script_name'); // without .js
In that script jQuery can be used to add the elements to the page where you need them.
This was a good solution for me since I only needed to add a single button to the login page. I can see this being a bad idea if you want to make vast modifications. At that point you might as well just create a separate page that you have full control over.

Cannot find custom application

This is going to sound like a really dumb question, but we had a developer who created a Facebook web application for us.
He has left the company and is not being very co operative. We have the log in details of the account he used to created the app, but when we log in and try to view the app, it does not appear in our list of custom apps.
In the graph explorer, when trying to debug the key and URL, the app does appear in the drop down though, but we need to change some other custom settings.
Can anyone direct me in which direction I need to go to look for this?
Thanks
Finally. got him to let us log in and that is where it was. All that time wasted for nothing.

How to build web clips like http://brdrck.me/settings/

I am very interested in building an app like http://brdrck.me/settings/. My first questions are what is inside a web clip file? Is it a html or something else? The second question is how to add the icon to home screens programmatically. As you can see from the page I mentioned above http://brdrck.me/settings/. I tried to check its source code from browser but it turns out to be some normal CSS and javascript code in my Chrome browser and I don't know how to check the source in my Mobile Safari. Any one help?
You won't be able to get any valuable code from the source. Trust me. :D
But, I can help you out.
I use two different methods: The "Add to Homescreen" and .mobileconfig files (the one you have to install)
For adding to the homescreen check out this resource. With the help of some creative work-arounds, it isn't too difficult.
http://mobile.tutsplus.com/tutorials/iphone/iphone-web-app-meta-tags/
The mobileconfig file is a bit more difficult, esp trying to get it signed, but this might help you a bit. Try to create one with a webclip then view the generated files source: http://support.apple.com/kb/DL1465
Hope this helps.

wiki iphone project

I'm currently working on an iPhone project where i want to present to the user spesific terms from wikipedia. I'm facing tow difficulties right now:
1. I want the specific content to work offline.
2. I want to show the relevant pictures as well.
I need to find the most efficient way to do it, can someone advise ?
You could get the content online and cache them in the app DB. If necessary you could prepolutate the db directly in you app. That way some terms would already be available.