Link open my app or go to store with parameter - xamarin

I am a Xamarin Forms developer.
I would like to open my app or go to the store with a link. And is it possible, if it is to store, after downloading my application, pass a parameter to my app?
I don't know if i was clear.
Someone can help me ?

Yandex AppMetrica offers such a feature, while having a nice xamarin.forms sdk. https://appmetrica.yandex.com/docs/
Your direct case:
https://appmetrica.yandex.com/docs/mobile-tracking/concepts/tracking.html

Related

Programatically Start UWP app after installation

I am creating a Store Build for my UWP app. I would like the app to run automatically (without user intervention) once installed on end-user device. Is that possible? If so, how?
I’m afraid you can’t let the app run automatically after installation.
Currently, uwp doesn’t provide such api to do this. If you do want this feature, please feel free to submit your feature requirement with Windows Feedback Hub app.

Embedding PowerBI report with an iOS app developed in Xcode

I have a simple PowerBI report with 2-3 visualizations that uses Azure database to get data. I want to see how I can embed this report in an iOS app that we are working on. We're using Xcode for developing the app. I want that report to be accessible using our own in-house app and not PowerBI app.
In my Xcode project I added a WebKit component and added the embedded code URL for the report. When I run the simulator, it asks me to sign in to PowerBI but if I click on the Sign-In link, it doesn't do anything. Is that the expected behavior?
I was wondering if anyone has worked on a solution like this before. Also, i thought if you use PowerBI embedding, it shouldn't ask the user to login. Is that correct? If not, what would be the best way to embed the report to the iOS app without asking the users to login?
what would be the best way to embed the report to the ios app without asking the users to login?
Follow the tutorial here: Tutorial: Embed Power BI content into an application for your customers
Your back-end app generates an embed token for the browser to use with the Javascript API to embed and interact with the report visual.

Voip or voice call record - Xamarin.forms

I am trying to develop a xamarin.forms app which have the functionality to make call and record it.Why I am writing this question is I want some clarifications regarding this.I cant find a proper solution on web.
1 The app workflow will be like this. When user tap on the number on my app it will open the dialer (in Android and iOS). User will complete the call and return back to app.The app will get the call record and store it.
Is this scenario possible with Xamarin.forms? If possible, any links will be appreciated.
2. Suppose the above scenaerio is not possible, then what will be the best approach? I heard about Twilio voip call sdk for xamarin. Is Twilio really support voip call for xamarin? I found these links, but it seems outdated.
https://www.twilio.com/blog/2014/11/twilio-client-for-xamarin-part-3-android.html
https://www.twilio.com/blog/2014/10/twilio-client-for-xamarin-part-2-ios.html Is there any other voip sdk available which will fullfil my requirement.Any help is appreciated. Because I have been stuck on this for days.
EDIT If I implement Twilio calling in web and calling it as a webview in mobile.Can I make work above scenario?

Need to convert a legacy safari extension into Safari App Extension. Searching for documentation, starting steps and tutorials on Xcode

I have a legacy safari extension which I need to convert into Safari App Extension to submit into Extension Gallery. I am new to Xcode therefore, not familiar with it's build and run process. I tried looking into official documentation from developer.apple.com but it is so abstract.
Why do we need to create a parent app in Xcode before creating a
safari extension target?
If so what parent app template should I
choose? Cocoa App?
Where I can find starter tutorials on Xcode?
What is the submission process to Extension Gallery?
How can add the extension under development to my safari through xcode for testing?
I heard they need the URL for extension to approval, when we are submitting extension through developer account why to host it on URL?
Any documentation or answers to the above questions would be very helpful. Thank you.
On 2. and 3, I had the same struggles - I wrote up a tutorial on basic style sheet injection in Safari App Extensions here: https://ulyngs.github.io/blog/posts/2018-11-02-how-to-build-safari-app-extensions/
I'm converting the legacy safari extension to safari app extension too and have some answers for your questions:
Because app extension is more as functional extension then safari browser extension and could bring more features to you. And as per Apple says: safari app extension gives more communication and data exchange between Safari and your native app, docs.
But I have no more ideas if you only want an extension for safari why this is only way to do extensions.
Yes, you should use the Cocoa App template. If you don't need the window for your app, you can remove it simply in Main.storyboard or make app as a "service".
A lot of docs from Apple I've read but understood a bit then expected. So I found some youtube channels (they are 2 or more years old but some things seems don't changed) Some vieos here and the Osx Dev Daily playlist on this channel. And of course official swift docs if you select swift for your app as PL.
I haven't read about this, but think it must be submitted with your Cocoa App.
First of all you should to run your app target and only after this you should run your extension target and choose "Safari" in showed window to run in. If you have no the signing at the moment so ensure to enable "Allow unsigned extensions" in Development > Allow unsigned extensions in Safari app.
Don't meet this info, could you share it, pls? (sry, don't have enough knowledges)
Hope, it helps to you!
P.S. also recomend to see the converting docs, but it may be insufficient for converting :)
EDIT: it's seems to be incorrect to remove app window or change the default menus created by Cocoa App template for app submit for App Store. Some people got negative decision of app submit because of menus changes of redundant items or app have poor functionality or has not it at all. So consider to read the submit docs.
Please, share your experience when you'll have success app submit!
EDIT 2: Today I found template in Xcode 10.1 that can be used for Safari Extensions directly. It is as previous workflow (template Cocoa App + add extension target) but there is safari extension target already included
The app window and menu is simplified for developers:
So you don't need work with your app and you can concentrate on extension only.

How can Xamarin be used to wrap a web app as if it were a native app for Android?

Say I build a super mobile friendly web application that I want in the Play Store for Android users to be able to download.
Could I use Xamarin to:
Wrap the entire mobile app as a single WebView
Register for mobile push notifications
Essentially shortlining an MVP of an android app by using an existing web app? If so, is there any well-known process or documentation that demonstrates this?
Probably the best approach for you would be using Xamarin Forms with one or more pages containing only web views.
I don't love Xamarin Forms because usually for me Xamarin Android+iOS gives a better result in similar time, but your app would be so simple that doesn't make sense to do it with Xamarin Android.
Make sure that your web app will show only what makes sense to be shown in your app, otherwise you risk to see double header/footer, useless buttons... but if the website is yours adding a few parameters to change a bit the UI won't be a problem I guess.
Have a look at this example:
https://github.com/xamarin/xamarin-forms-samples/tree/master/WorkingWithWebview
Another approach is the use of Razor to build your pages in html directly inside your app, but if I understood well it's not what you need:
https://developer.xamarin.com/guides/cross-platform/advanced/razor_html_templates/
Although it is technically possible to do this as the previous answer has suggested. I would recommended firstly reviewing, the relevant stores guidelines on submissions. Apple for example will not allow a submission to their store of any application that simply mirrors the functionality of a website. I suspect Google's would likely be the same.
However that said, to answer your question, Xamarin.Forms would be appropriate for a simple application like the one you are suggesting. Or if you prefer to build to a specific OS, then in iOS with Xamarin you would use the Safari View Controller that was added in it's xcode 8.1 release. Android uses something similar as does windows.
EDIT:
You can use the Web View control in Xamarins Andorid native PCL project to encapsulate your mobile friendly website within an application here is the documentation:
Xamarin Android Developer link to Android Web View
As for push notifications, yes this is perfectly possible using Xamarin.Android. and varies on implementation depending on what you want to use as the back end to handle them, I.E. Azure's notification hub etc.

Resources