Questions tagged [userinfo]
151 questions
1
vote
1 answer
Google API userinfo request returning more information than I need
I've just received an email from Google warning me that our application uses Google+ APIs that will soon be shut down. This was a surprise, because we don't knowingly use any Google+ APIs. The email specifies that we use the plus.me method or OAuth…

Tom
- 61
- 5
1
vote
1 answer
Passing empty NSIndexPath in userInfo of a notification in NSNotificationCenter
I have a specific scenario, when an order list (NSMutableArray) is empty and therefore the selected index (NSIndexPath) should also be empty (I'm using nil). I am passing those data using NSNotificationCenter to trigger an update in a table…

Peter G.
- 7,816
- 20
- 80
- 154
1
vote
2 answers
How to handle localNotifications when app is closed
I've searched in all questions here but no solution worked.
I scheduled localNotifications with a userInfo option.
When app is in foreground, the notification arrived and a can handle perfectly with this function that system calls by itself.
For…

Rafaela Lourenço
- 1,126
- 16
- 33
1
vote
0 answers
Getting basic info of a user who is logged in into my website through google api
This is the web page which will be redirected to it after logged in:
// get_user_info.php
$gClient = new \Google_Client();
$gClient->setApplicationName('Login to Pronexo');
…

Martin AJ
- 6,261
- 8
- 53
- 111
1
vote
0 answers
Paypal userinfo only returns user_id
I am working with vb.net web application.
I want to get papyal user info by paypal credential.
My code below:
Dim url As String = "https://api.sandbox.paypal.com/v1/oauth2/token/userinfo?schema=openid"
Dim req As HttpWebRequest =…

ajoy
- 163
- 1
- 2
- 15
1
vote
1 answer
Restrict openid-connect userinfo request from unknown source
How to restrict openid-connect request from the unknown source.
If we've Access Token available anyone can request for userinfo (we are saving user information and claims into userinfo) which we want to restrict.
means, the request we should allow…

Nick
- 65
- 1
- 8
1
vote
0 answers
"Sending uncached message without first clearing the previously cached value" How can I fix this?
So I declared a timer:
self.timer = Timer.scheduledTimer(timeInterval: 0.01, target: self, selector: #selector(self.updateWatch), userInfo: data!, repeats: true)
(data is of type CMMotionActivity)
Then I get the userInfo in my updateWatch()…

bcye
- 758
- 5
- 22
1
vote
2 answers
Change "My Account" to "Username" WooCommerce sidebar
I want to display for users once logged in instead of the default word My Account I want to display the user's name, I tried this code but it doesnt display anything!
It seems it doesn't recognized the variable $current_userin the file located at:…

MiraTech
- 1,108
- 18
- 35
1
vote
1 answer
Prestashop 1.6: Place "User Info Block" module (User Login block) next to the "Cart Block"
I'm using default theme in Prestashop 1.6.
Is there a way to move the "User Info Block" module (User loging/logout) from "DislayNav" hook to "DisplayTop" hook just above the main menu and between Quick search and Cart block. The module is actually…

user3275707
- 89
- 2
- 12
1
vote
2 answers
How to change data in the userInfo when using NSTimer?
I use NSTimer to repeat a function every 1 second. I use scheduledTimerWithTimeInterval method's userInfo parameter. I need to update data in this userInfo.
override func viewDidLoad() {
super.viewDidLoad()
…

user4708651
- 55
- 1
- 6
1
vote
0 answers
Calling a method using NSTimer in Swift
I want to call a method(with one parameter) using NSTimer but still keep on getting errors. This is how my method looks like:
func addEnemy(scnView: SCNView) {
func createMeteorite() -> SCNNode {
let meteorite =…

Alec Firtulescu
- 543
- 6
- 18
1
vote
2 answers
Cannot select a record in User Information (UserInfo). User ID: , . Dynamics Ax 2009
== UPDATED :) =========
! SEEMS LIKE ANOTHER 2100 LIMIT ! PLEASE HELP !
Here's some update of what we've found :
I've written a simple job :
server static void testEs(Args _args)
{
UserInfo t;
;
select t;
}
When I run it as admin,…

Evans
- 11
- 1
- 4
1
vote
1 answer
Swift NSTimer retrieving userInfo as CGPoint
override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
let touch = touches.anyObject() as UITouch
let touchLocation = touch.locationInNode(self)
timer = NSTimer.scheduledTimerWithTimeInterval(0.5, target: self, selector:…

Wraithseeker
- 1,884
- 2
- 19
- 34
1
vote
0 answers
Payload data or userInfo from push notification when app is in suspended mode or app exit in iOS
I am suffering from an issue. I wanted to get get userInfo or payload data when app is in suspended mode. I am able to get payload data when i tap on received notification. but i am not able to get userInfo data when app is in suspend more exited.…

Yagnesh
- 1,123
- 3
- 17
- 27
1
vote
1 answer
Recover UILocalNotification or remote push notification anytime
I have a problem. When user receives a remote or local notification but he don't read , the notification lost from "userInfo" if the user open the app tapping over the app icon (not on the notification in the Notification Center)
Is there any way to…

mhergon
- 1,688
- 1
- 18
- 39