Git Product home page Git Product logo

Comments (8)

cloudterritory avatar cloudterritory commented on August 20, 2024 1

@bhariharan,
When i add forcehybrid using command(npm install forcehybrid).it shows compatibility issue in my windows laptop.
please take a look
Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
image

from salesforcemobilesdk-package.

bhariharan avatar bhariharan commented on August 20, 2024

Our Android plugin has a few postinstall steps that need to be run. This requires our plugin to be added at the end. If you use forcedroid to create your app, you need to remove our plugin, add the camera plugin and then re-add our plugin for the postinstall steps to kick in. The steps would look like this:

forcehybrid create ...
cd <app-folder>
cordova plugin remove com.salesforce
cordova plugin add <camera plugin>
cordova plugin add https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin --force
cordova prepare
Import into Android Studio

from salesforcemobilesdk-package.

bhariharan avatar bhariharan commented on August 20, 2024

@cloudterritory We had an issue that restricted forcehybrid to only Mac OS machines. We have fixed that issue in our patch release - v6.0.1. Try again with [email protected] from here.

from salesforcemobilesdk-package.

cloudterritory avatar cloudterritory commented on August 20, 2024

@bhariharan, Thanks for help over platform and camera plugin issue. :)

from salesforcemobilesdk-package.

cloudterritory avatar cloudterritory commented on August 20, 2024

@bhariharan, We want to replace default login screen to our custom login screen. we got one solution, which is login through community url. where we can add our custom login page from server. but it allows only one salesforce org at time and we want to auth any org. so we want to design login screen in app. Is it possible in forcehybrid (Cordova Hybrid) app. AuthTemplate is this link related to custom login screen in hybrid app? please provide any helpful or guidance on this.

from salesforcemobilesdk-package.

bhariharan avatar bhariharan commented on August 20, 2024

@cloudterritory AuthTemplates are not custom login screen templates, they demonstrate usage of our new IDP auth feature in 6.0. Our dev guide provides information on how to customize the login experience - see here.

from salesforcemobilesdk-package.

cloudterritory avatar cloudterritory commented on August 20, 2024

@bhariharan, Thank for reply. we got this solution earlier but according to this doc if we use community url in app then it will allow one related org's users to login, not all. but we want our banding login screen for multiple salesforce orgs. so is it possible to develop a custom login screen for multiple orgs in salesforce SDK.

from salesforcemobilesdk-package.

bhariharan avatar bhariharan commented on August 20, 2024

The login page itself is a server side component that we simply render within a WebView on mobile. Please review Salesforce documentation for details on this.

from salesforcemobilesdk-package.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.