Search found 37 matches

Go to advanced search

by Joseph Dindinger
Mon Mar 17, 2014 11:20 pm
Forum: Issues
Topic: How can I save Salesforce.com credentials?
Replies: 20
Views: 3682
 
Jump to post

How can I save Salesforce.com credentials?

Hi Maryna, I am using the same code that is in your standard Salesforce.com contact list plugin that you provide. The only difference, is that in your standard code, you have: pre window.open(url, "_self"); /pre I am a beginning programmer on mobile. When I look at the link to the ...
by Joseph Dindinger
Mon Mar 10, 2014 12:00 am
Forum: Issues
Topic: Disappearing "Back" Button
Replies: 20
Views: 4368
 
Jump to post

Disappearing "Back" Button

OK. I have created a new app with only this code so that it is easy to test. The new app is called "BuggyTest" and it will simply show you three buttons. Notice that if you press any of the buttons, they go out to a website. When you click the Mobile "back" button on the Android ...
by Joseph Dindinger
Sun Mar 09, 2014 10:35 pm
Forum: Issues
Topic: How can I save Salesforce.com credentials?
Replies: 20
Views: 3682
 
Jump to post

How can I save Salesforce.com credentials?

Hi Nikita, I do that and it comes back fine. The problem is on the start of the app, the access_token is NULL. See below, the first time the page loads, the first alert comes through as NULL and the second one returns the token. When the page re-loads after logging in, the first alert also has the t...
by Joseph Dindinger
Wed Mar 05, 2014 12:33 am
Forum: Issues
Topic: How can I save Salesforce.com credentials?
Replies: 20
Views: 3682
 
Jump to post

How can I save Salesforce.com credentials?

Hi Kikita, Did you see the code above? The alert that I have above shows that the localStorage.getItem("access_token") returns NULL value. However, it should not. My code originally said this: pre // THIS NEVER WORKS. THE LOCALSTORAGE NEVER SAVES if (localStorage&am...
by Joseph Dindinger
Tue Mar 04, 2014 7:19 am
Forum: Issues
Topic: How can I save Salesforce.com credentials?
Replies: 20
Views: 3682
 
Jump to post

How can I save Salesforce.com credentials?

Here is a screenshot showing the alert: pre function doLogin () { // THIS SHOWS THAT THE LOCALSTORAGE DOES NOT WORK alert(localStorage.getItem("access_token")); // as we render all pages into one file, let's check if this is a callback if (window&...
by Joseph Dindinger
Tue Mar 04, 2014 7:16 am
Forum: Issues
Topic: How can I save Salesforce.com credentials?
Replies: 20
Views: 3682
 
Jump to post

How can I save Salesforce.com credentials?

Yes, Katya. I have an alert like this:

pre
alert(localStorage.getItem("access_token"));
/pre

But the first time the app loads, it always says "null". See below.

by Joseph Dindinger
Tue Mar 04, 2014 7:14 am
Forum: Issues
Topic: How can I save Salesforce.com credentials?
Replies: 20
Views: 3682
 
Jump to post

How can I save Salesforce.com credentials?

Hi Maryna, I have changed the login to use this code: pre window.open(url, '_blank', 'location=no'); /pre Now the login launches a new window, but it still ALWAYS asks to login every time that I open the app, because the token is not found in local storage. (See the screenshot that I will po...
by Joseph Dindinger
Tue Mar 04, 2014 7:01 am
Forum: Issues
Topic: Disappearing "Back" Button
Replies: 20
Views: 4368
 
Jump to post

Disappearing "Back" Button

This only runs when a button is pressed. This does not run on "Load", only on the "Click" event of the buttons.

Any other suggestions?

by Joseph Dindinger
Fri Feb 21, 2014 11:07 pm
Forum: Issues
Topic: Disappearing "Back" Button
Replies: 20
Views: 4368
 
Jump to post

Disappearing "Back" Button

Could you share that app with me? I'd like to look at what you did, because when I do it, there is no "Done" button. I just shared the folder with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a, and I also sent login info via email. Hopefully you ha...
by Joseph Dindinger
Fri Feb 21, 2014 3:46 pm
Forum: Issues
Topic: Disappearing "Back" Button
Replies: 20
Views: 4368
 
Jump to post

Disappearing "Back" Button

Hi Maryna,

This is what I originally was trying. It is what I wrote above, if you read the entire post.

Any other ideas?

Thank you,

Joseph

Go to advanced search