Migrate my app from WatchOS1 to WatchOS2 - watchkit

I'm migrating my application from WatchOS1 to WatchOS2. I was sharing data on watch OS1 using app group with the help of core data, so I want the same functionality on watch OS2. How can I achieve this same functionality?

Sorry. You can't use app group to share data between watchkit extension and it's companion App. You have to use WatchConnectivity to share data for watch OS2. And this is totally different approach with app group.
WatchOS2 App extension is installed on watch itself not like watch OS1 App extension was installed on iPhone. So shared app group on watchOS2 is used to share data between other watch os2 apps that are provided by same vendor.

Related

Ionic 5, Capacitor 2.4.5 Firebase Dynamic Links

I'm integrating Firebase Dynamic Links in my Ionic 5 and Capacitor project.
I did the configuration on Firebase console but I would like to know how to test my dynamic links without publishing the app.
Is there a way to simulate what the user will get after the installation through the app/play store?
What I mean is that I want, after a new installation, to open the app and get the dynamic link.
On Android I managed to make the flow working but I would like to double check it if possible.
Thanks in advance for your help.

localizing app name in desktop bridge apps

i have a desktop app to convert to uwp apps, it has a different app name on different system language, I knew to do this in uwp project, setting the package display name with ms-resource:AppName, but in desktop bridge apps it didn't work,
can anyone help me ?
Instructions on how to do this are in the "Using MRT for Desktop Apps" whitepaper. Basically you need to build a PRI file with your resources and then reference them from the AppXManifest. (The whitepaper also includes additional steps you can take if you want to localize the app's content as well).
The desktop bridge app's display name have changed when you using ms-resource:AppName to localize strings in your app package manifest, you can see the change on the Start Menu.
Desktop bridge will package your desktop app to have UWP apps's experiences such as live tiles and notifications, but the UI in your packaged app will still depend on your desktop app. You said the desktop bridge apps "didn't work", it should be something like the Window's Title in WPF app. You can change it on your desktop app's code by using the API
of your app's platform to get the OS's language and change the Window's title. The ms-resource:AppName in the converted app package manifest will affect the app's display name on the Start menu but will not change the app's window's title which is set on the destop app.

How to submit crash report to Microsoft App Center for Xamarin.Forms?

I want to submit crash report to Microsoft App Center for my project which is created in Xamarin.Forms.
Can anybody please suggest a link or steps where I can follow and integrate required steps in my project? I also want to test.
Please guide.
Whenever you login to the App Center portal all the information you need is right there. Create an app in the portal, one for Android and one for iOS if you have these platforms.
From there, basically you have to install the NuGet packages and add one initialisation line in your code. Note that you will be provided with the ID for this specific app under step 2. If you have multiple platforms, add the line once and replace the different IDs for each platform.
You will then have basic crash reporting and analytics (if you install both packages). You do not need to do anything extra for it, start your app, start using it and watch data come back to the portal.
Since a little while you can now also track handled exceptions and custom events.
For more information, check out the extensive documentation here: https://learn.microsoft.com/en-us/appcenter/
Please refer the detailed information here:
App center for Xamarin
Steps are:
You need to create 3 apps in App Center – one for each OS.You need to select Xamarin as the platform for Android and iOS applications and obtain App secret
Install Microsoft.AppCenter.Analytics and Microsoft.AppCenter.Crashes packages.
Open your App.xaml.cs and write this in OnStart() method:
AppCenter.Start("ios={Your App Secret};android={Your App Secret}", typeof(Analytics), typeof(Crashes));

SterlingDB 2.0 Beta

I am a complete Sterling newbie so please excuse my question. I have gone to the new GitHub repository and downloaded the latest source code for SterlingDB 2.0 Beta. I am working on a new project that will use Sterling in a Windows 8 Store app, a Windows 8 Phone app and a WPF Desktop app all based on MVVM Light. So using your Test projects in your source code, I understand how the Store and Phone apps use sterling but how does the WPF Desktop use Sterling. Or better yet what dll needs to be referenced in the desktop app. I used the Wintellect.Sterling.Core and Wintellect.Sterling.Server as my references but only because I want the WPF app to use the applications folder. Is this correct for this new version?
By the way Josh, good job...
Orgbrat
You should be able to use the FileSystemDriver (which is indeed in the Wintellect.Sterling.Server assembly) and specify the path where you want your database to be saved.

Distributable extensions (modules) for mobile app in Adobe Flex/AIR

I am creating an mobile app in flex 4.6 which will have some default embedded content.
I need to be able to extend this app with modules (additional content libraries) let's say up to 35MB each, the client wants these modules as separate positions(packages) on the app store. How to approach such project in Flex? Is it possible to create mobile Flex app with separately purchasable extensions?
Yes, its possible. Copy over your assets from your Application directory to user directory or application storage directory(if you want to update them). Now use you can write a module or a native app to go and update/copy these files that your app will use.
Keep in mind your Application Directory is write only and protected well. You will not be able to go edit/delete files at least for flex. From what I understand you cannot do this with IOS on the application storage directory, Apple don't like that-
http://blogs.adobe.com/airodynamics/tag/file-applicationstoragedirectory/
http://blogs.adobe.com/simplicity/2010/01/api_tip_dont_abuse_fileapplica.html
You should be able to detect these files and automate whatever you need. With the user directory there is a chance that your sensitive material may be accessible to the technically savvy.

Resources