Predix_Logo
  • Categories
    • Questions
    • Predix | Updates
      • Pricing
      • Product
    • Deloitte - Private
    • How-To
    • Accenture-Private
  • Explore
    • Topics
    • Questions
    • Articles
    • Feedback or Feature Requests
  • Sign in
  • Home /
  • Questions /
avatar image
0
Question by om.k@tcs.com · Apr 07, 2016 at 10:54 AM · mobile

How to give logout feature in predix mobile app

I have created app in Predix Mobile that is working fine, but I do not have any idea how to give it logout feature as at the time of login I have to login in Predix provided login page.

pls help on this.

Comment
Add comment
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

  • Sort: 
avatar image
1

Answer by Swapan Gosh · Apr 07, 2016 at 12:51 PM

Please refer to the documentation of Predix Mobile SDK (https://github.com/PredixDev/PredixMobileSDK)

Please go to the wiki page - https://github.com/PredixDev/PredixMobileSDK/wiki/Boot

From your mobile web app, you can call Boot Restart, which will stop all the back-end services and unload all web apps and take you back to the login screen. You need to login again to start the web app.

This is a way to implement logout using Predix Mobile services.

Comment
Add comment · Show 3 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image om.k@tcs.com · Apr 11, 2016 at 04:19 AM 0
Share

one more doubt,

In Predix Mobile is there any plugin which I can add in our app and get able to interact with device's camera, microphone etc.

or I need to write code in native only.

avatar image clifton.craig@ge.com om.k@tcs.com · Apr 11, 2016 at 09:20 AM 0
Share

We have examples which illustrate extending our native integration. Here's an example using the camera: https://github.com/PredixDev/MobileExample-iOSService-Camera

avatar image om.k@tcs.com clifton.craig@ge.com · Apr 11, 2016 at 08:32 PM 0
Share

Yes, I saw that using native code, but is there any plugin using which we can interact with device by using js. Like we do in hybrid app build using Cordova

Follow this Question

Answers Answers and Comments

25 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Predix Mobile iOS requirement 4 Answers

Shared uaa - (predix select) with predix mobile app? 1 Answer

Predix mobile app architecture 1 Answer

Can we use same dev uaa instance in prod for predix mobile? 2 Answers

Running the Predix Mobile Sample App issue 1 Answer

GE Monogram
  • Legal
  • Cookies
  • Forum Terms
  • Contact Us
  • Copyright © 2017 General Electric Company. All rights reserved.


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Submit your feedback or feature request
  • Categories
  • Questions
  • Predix | Updates
    • Pricing
    • Product
  • Deloitte - Private
  • How-To
  • Accenture-Private
  • Explore
  • Topics
  • Questions
  • Articles
  • Feedback or Feature Requests