Why is web app not loading inside the MS-Teams - microsoft-teams

I have deployed a simple web app and deployed to https://rockdove.centralindia.cloudapp.azure.com:82/. This page has the link to teams app sdk and also has initialized the teams app. im trying to load it inside teams app in my organization using this manifest file. i can upload and install the app but the app is not loading. The index file and manifest used for test is attached here.

Here are a few things to look at:
I don't think you can pass anything to microsoftTeams.initialize(), so remove the 'window' parameter
I've not tested whether the 'validDomains' allows custom ports, but it might not - try put the entry without the ':82', and then also remove entries 2 & 3, so it's only 'rockdove.centralindia.cloudapp.azure.com'

Related

Any suggestions on a way to get user comments back from a Xamarin Forms application. Possibly something using appcenter.ms?

I would like to add a "User Feedback" link to my Xamarin Forms application and I am looking for some suggestions on where to start. If possible I don't want to have the user send me comments through email. I'm already using appcenter.ms and would like to use something like that or maybe there are web sites that users could use.
Would appreciate comments and suggestions on ways that this could be done.
https://instabug.com/platforms/xamarin
IOS Configuration
4- To start using Instabug in your iOS app, add the following line in the FinishedLaunching method inside the AppDelegate class.
Instabug.StartWithToken ("YOUR_APP_TOKEN_HERE", IBGInvocationEvent.Shake);
Android Configuration
5-To start using Instabug in your Android application, add the following line in the OnCreate method inside the MainApplication class.
new Instabug.Builder(this, YOUR_APP_TOKEN_HERE")
.SetInvocationEvent(InstabugInvocationEvent.Shake).Build();
https://ozaksut.com/how-to-integrate-instabug-for-your-xamarin-apps/
You can let the user submit comments or feature requests via a few useful services:
zendesk and their mobile sdk
intercom and their mobile sdk
you can integrate support forms or feature requests, activate on user action in the app and communicate via corresponding services administrative part, which includes all the tools, charts, analytics and automation (alerts, bots, etc).

How to correctly create expressjs app on facebook parse?

I'm learning http://parse.com and follow onsite tutorial to create expressjs "parse hosting" app.
I created a deployed simple app withou problems, it's accessible via <subdomain>.parseapp.com and displays public/index.html:
parse new
parse deploy
After that I generated expressjs app via:
parse generate
and modified main.js as instructed by adding following as a first string:
require('cloud/app.js');
Unfortunately, after deploying modified app it still displays index.html content. Seems it's some setting like "enable expressjs" that I can't see in documentation or app settings. Any hints?
Did you change the code in index.html? Express/Node is the server powering your app which is serving the index page. Unless you make changes to the HTML in the index page, you'll keep seeing the original generated file.

How to integrate Google tag manager with Xamarin Android?

I want to integrate Google tag manager in Xamarin.
For iOS, there is a documentation on how to do so when consuming Google analytics SDK.
However, there is no documentation at all for Android integration.
Any suggestions?
I don't think you need any Xamarin documentation for using Tag Manager with Xamarin.
Tag manager comes with Google Play Services, so you just need the Xamarin component for Google Play Services:
https://components.xamarin.com/view/googleplayservices
The documentation for Tag manager is here:
https://developers.google.com/tag-manager/android/v4/
As #Andrei suggested, I used in Google play services, although the configuration was not so trivial..
I have created a sample project you can find here to demonstrate how to use Google tag manager in Android.
In short, after you install the SDK, you should call these lines in the your mainActivity class:
var tagmanager = TagManagerClass.GetInstance(this);
var pendingResult = _tagmanager.LoadContainerPreferNonDefault("GTM-XXXXXX",
Resource.Raw.gtm_analytics);
pendingResult.SetResultCallback(new TagMnagerResultCallback(), 2, TimeUnit.Seconds);
And after the callback has been called, you can fire your events like this:
_tagmanager.DataLayer.PushEvent("openScreen", DataLayer.MapOf("screenName", "testScreen"));
You might want to check my post. I explained how to do enhanced ecommerce and if you think could be valuable.
Summary is:
Add Google tag Manager component
Go to Google tag manager web admin, pick android code and go to latest version published. There you should see an option to download a binary file
Name binary as you want and place it inside Raw folder
In Setup or main android class, implement the basic wire up pointing to downloaded Binary in Raw file (This is key)
Create app view event as documentation display, in Tag Manager portal
add basic open screen tracking and watch real time in Google analytics. It takes few minutes to see the data, first time could take up to 24 hours depending on your account
Check my blog post for further details and let me know if still have questions and I will put together the full implementation.
Cheers

Portal type application with AngularJS (Multiple Independent apps)

We are trying to create a portal type application with multiple / independent "sub-apps". Assuming that all sub-apps are written in Angular what is a good pattern to achieve the following goals.
Each app can be developed and deployed independent of each other.
They share a common authentication service, they can share common libraries (directives, filters etc).
Only one app will be visible and active at any given time. The scope of each sub-app is isolated from each other.
When the users goes between the sub-apps, the state is maintained as long as the user does not refresh the page or visit another static link. (I think this is built into Angular and no special effort maybe needed)
Each sub-app will have more than one views (it will have its own menu). There will be a top menu based on what sub-apps are available. Ideally the top menu is dynamically build based on what sub-apps are deployed. Maybe there is a server side component to this (the server detects the folder structure etc and determines what apps are deployed and injects the necessary js code into the page).
Given the fact that AngularJs does not have multi-level view structure, I was thinking of using multiple ng-app declarations on different divs and then using $window scope to store the key of the active app and hide the ones which are not active.
There is no easy answer to your (rather open) question, but regarding the $route and ngView limitations, I have been having great success employing a technique derived from this: http://www.bennadel.com/blog/2420-Mapping-AngularJS-Routes-Onto-URL-Parameters-And-Client-Side-Events.htm
This is something that I also have been thinking of trying to implement. While I don't have a complete working solution, I believe that this type of portal app would consist of multiple angular apps on the same page.
The portal app would be the traditional ng-app directive on the main page and the "portlets" would be dynamically created and manually bootstrapped angular apps on a sub view div. You can share data, state, authentication, personalization, etc from injecting the portal services (contained in their own module) that provide these features into the manually bootstrapped portlet apps.
The tricky part is how the portal app would discover the portlet apps and serve up their angular modules knowing that these apps would be independently deployed web apps with their own urls.
I still have some questions around if the service data would be common between the apps or if you would need to try and leverage HTML5 local storage via the portal service (like a data manager).

External hosts wildcard phonegap IOS

Hi all i'm almost ready to send my app to app store and a question came up!
In few words i call a remote php file via ajax and retrive infos from a database, in which i'll have some external link i would like to show in my app (like productors web sites).
The problem is: to let the user open the external links i have to put a * in my phonegap.plist externalhosts field. i would like to know if this will cause a reject from app store for my app
no you're fine, thats the way it has to be done for native apps as well. I have had apps get accepted that use the same thing. :)

Resources