mobile-services | Native Mobile SDKs , dev tools and example apps | iOS library
kandi X-RAY | mobile-services Summary
kandi X-RAY | mobile-services Summary
Native Mobile SDKs, dev tools and example apps.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mobile-services
mobile-services Key Features
mobile-services Examples and Code Snippets
Community Discussions
Trending Discussions on mobile-services
QUESTION
I'm currently working on a mobile app and I want to use Facebook SDK access token on android to authenticate against a .NET Web Api.The Web Api is secured with Azure B2C Identity Management. My Azure B2C Identity Management system uses Facebook as Identity provider.
What I want to achieve is to acquire an access token silently from the Azure B2C Identity Management System based on the Facebook SDK access token. The reason I want to achieve this is that if the user has already installed Facebook app on his mobile to not be forced to reenter his credentials.
I found this post which does something similar but using mobile services on azure https://blogs.msdn.microsoft.com/carlosfigueira/2014/01/07/using-the-facebook-android-sdk-for-logging-in-to-azure-mobile-services/
What I want to achieve is something similar but using Azure B2C Signin Policy.
Any ideas on how this can be done?
...ANSWER
Answered 2019-Oct-10 at 06:07I believe this isn't supported. You would instead have to use an OpenID Connect SDK like AppAuth instead.
AppAuth uses features like Chrome Custom Tabs which shares cookies with the main browser so users don't have to re-login to sites like facebook.
Also, there is an official tutorial for using AppAuth with Android using Azure AD B2C.
QUESTION
I am using Heroku auto-deployment using the heroku.yml file.
And the release step seems to be running forever and it's not failing or succeeding.
Could anyone help what I am doing wrong?
Below are the contents of the heroku.yml file.
...ANSWER
Answered 2018-Oct-15 at 20:24So the solution was to add something as release command. its weird enough but works fine. Let me know if this works for anyone.
QUESTION
I have a table controller, which has one way sync (Only get since there is no any update from mobile). So the very first time when I do the PullAsync it has pulled whole data since my Update At filed has the same timestamp for all the records. Now Second time I just wanted to do the incremental Pull (Note I do pass a name value to PullAsync to enable incremental sync).
But the problem is, it retrieves whole data again since there is no updated time stamp in Updated At (Because there is no update method in the Table Controller since it is one-way sync-Azure to mobile). How can I omit pulling data again if there is no update while all the Update At values are same time stamp? The issue is same as mentioned in below link. Do we still need to do one record update in order to fix this?
Thanks in Advance
...ANSWER
Answered 2018-Mar-07 at 08:26How can I omit pulling data again if there is no update while all the Update At values are same time stamp? The issue is same as mentioned in below link. Do we still need to do one record update in order to fix this?
I have checked that this issue still exists. AFAIK, the PullAsync
operation would pull 50 records (MaxPageSize by default is 50), then begin a transaction to insert / update the retrieved entities, then update the local __config
table with the latest updatedAt timestamp, then try to retrieve next page records and execute the above processing again.
Note: The format of id
column looks like this deltaToken|{table-name}|{query-id}
.
The pull operation request would look like:
QUESTION
I downloaded the Watson Chatbot Starter Kit and set the conversation to the Car Sample Template. After adding the required credentials and Workspace ID, I tried running the application. However it shows the following error and stops:
...ANSWER
Answered 2018-Feb-12 at 09:37The mfpclient.properties gets filled with the appropriate values of your MobileFirst server instance when you execute the shell script by name mfpstartersetup.sh
.
In case you don't see it after executing the shell script, you can navigate to your Watson Chatbot workspace and obtain your MobileFirst server instance's details and fill the mfpclient.properties manually.
QUESTION
I'm having a hard time authenticating to the Object Storage Service in IBM Cloud from an external Java application using the OpenStack4j library (version 3.1.0). Here's how I'm trying:
...ANSWER
Answered 2017-Nov-24 at 04:09The reason for the confusion is that there are (or used to be) two different Object Storage services on Bluemix (Object Storage and Cloud Object Storage). The bluemix-mobile-services SDK is written for the Object Storage one rather than the service you have provisioned.
The App Service page has a starter kit which makes it pretty easy to get starter code and set up with a toolchain for a Liberty project:
This has the domain field for the credentials. (Here is a link to the starter kits & I added the Object Storage service which injects the credentials: https://console.bluemix.net/developer/appservice/starter-kits. Or you can create a project with just the service and no code: https://console.bluemix.net/developer/appservice/create-project?services=Object-Storage)
Here is the documentation for the Java SDK for Cloud Object Storage if you would like to use that service instead:
https://console.bluemix.net/docs/services/cloud-object-storage/libraries/java.html#java
Here is a comparison of the Object Storage services:
https://console.bluemix.net/catalog/infrastructure/object-storage-group
QUESTION
I am trying to setup user signup and login with a Cognito user pool, Facebook and Google. I have been able to create a signup page (by following this guide) with the app integration in Cognito but would like to host the signup page along with the rest of my app. This answer has been somewhat helpful but lacks detail. I can't really find any good examples or documentation.
...ANSWER
Answered 2017-Nov-02 at 14:09QUESTION
I'm using Azure Mobile Services library for Javascipt in my Angular Web App. According to the documentation here: https://github.com/Azure/azure-mobile-services/blob/master/docs/mobile-services-html-how-to-use-client-library.md#how-to-filter-returned-data
There are two ways to filter the returned data. One is passing a JSON object and the other is passing a filter function (for complex filtering). I'm using the filter function since I have to use relational operators for columns like startDate or endDate which require a greater than or less than condition.
I have a function, like the one below, which returns a filter function based on certain filters set on the front end, but to cater different filters, I have to use a lot of if..else conditions to see which of them is set and what filter function to return.
...ANSWER
Answered 2017-Aug-08 at 08:14Actually, the body of the filter function is translated into an Open Data Protocol (OData) boolean expression which is passed to a query string parameter. However, you can directly pass an OData query string to the read
method, and build OData query string as below:
QUESTION
So I'm working on a project to redeploy an application that was previously hosted as an Azure Mobile Service as an Azure Mobile App. Said application has a frontend (hosted as a Web App in Azure) and backend API (this is the Mobile App) that is called directly from the frontend's javascript. The upgrade had been going well up until I started working on the Microsoft Account Authentication piece. Following the instructions at...
...got things mostly rolling. My application has been registered in the Microsoft Account Developer Center, I specified a Redirect URI following the 'https://{{my_backend_mobile_app_name}}.azurewebsites.net/.auth/login/microsoftaccount/callback' format, I configured the Microsoft Authentication/Authorization in the appropriate blade of my mobile app in Azure using the ClientId/Secret from the Microsoft Account Developer Center. Things go mostly well when I test it out: I can go to the frontend of my application and click on the 'Sign In' button, a new window opens with Microsoft's Login.Live site where I am prompted to login with a Microsoft account, I do so successfully and am redirected to the Redirect URL specified in the Microsoft Account Developer Center and it has Code and State values appended in the query string.
However, the page that is shown when I get redirected there is a 'You do not have permission to view this directory or page'. If I copy the URL, open a new tab, paste it in and hit enter it takes me to a 'You have successfully signed in' page. But neither way takes me back to the frontend of my application where it would log me in and continue into the site as everything is still happening in the new window that was opened for signing in. If I close that window, the authentication process sees that as a 'Cancelling' of the login and requires me to login again (which just repeats the above process). If I leave the window open and go back to the window with my frontend site, it is still waiting for a response from the login process.
So this leads me to my main question: How do I get the Microsoft Account Authentication process to actually return the login response to my frontend site rather than to the login window?
Side note, I've updated the SDK's for both the frontend and backend from the Mobile Service ones to the Mobile App's ones. In doing so I had to add in an OWIN middleware (per the instructions in link #1 above, under the 'Updating the server project' header) to my backend app. My current hypothesis is that this OWIN middleware isn't configured correctly for authentication and is getting in the way blocking the callback from working properly; thus, I am messing around with the app.UseAppServiceAuthentication(new AppServiceAuthenticationOptions());
piece.
ANSWER
Answered 2017-Jul-24 at 07:35According to your description, I assumed that you are using the JavaScript client library for Azure Mobile Apps. I checked this issue on my local side and found I could encounter the same issue as you mentioned as follows:
Then I tried to deploy it to azure web app (https://brucechen-mobile.azurewebsites.net/login.html), I found it could work as follows:
After searched the web I found a similar issue and refer to this blog about Fix the Ripple Issues. I log onto azure portal and choose my mobile app, then click "All Settings > CORS", add the URL for my local web application as follows:
Then, click "SETTINGS > Authentication / Authorization", add the ALLOWED EXTERNAL REDIRECT URLS as follows:
Based on the above settings, it could work as expected on my local side as follows:
QUESTION
Our team has migrated from Azure Mobile Service to AppService and all works fine, except now we need to swap the APNS cert as it's reaching its expiry date.
According to this article: https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-migrating-from-mobile-services it has to be done manually in the file system.
Can someone explain how to do it, using the legacy push? Is it the FTP that I need to use? or maybe something else?
...ANSWER
Answered 2017-Jun-15 at 07:14Can someone explain how to do it, using the legacy push?
Currently, the Mobile Apps feature of Azure App Service uses Azure Notification Hubs to send pushes,so we need to configurate the notification for the Appservice. The following is the detail steps:
1.In the azure portal,go to your app service and click [push]
2.Click connect to connect or add a notification hub source to the app
3.Click [Configure push notification services] to configurate push notification services.
4.Upload the certificate
We also could get more info from the azure tutorials.
QUESTION
I'm trying to build my Android project in a Xamarin.Forms solution and the following line keeps raising an exception that breaks the build.
...ANSWER
Answered 2017-May-15 at 00:11Derp
You need to add the Azure Mobile Client NuGet package to all the mobile app projects in the solution - Ken Tucker
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mobile-services
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page