We can definitely look into this. Is there a paticular part where you can't progress or some sort of error message? Whatever details you can give would be great.
Shane
B
Bolaji Harris
said
over 8 years ago
Sure Shane,
First of all the instructions ask you to edit AppDelegate.mm, but that does not exist in my project. Instead the functions that we are asked to modify exist in UnityAppController.mm.
After making the modifications in UnityAppController.mm I get the error the GSApi is undefined. Since I don't know Objective C or Xcode very well. I do not know how to include that library or file and correct that error.
B
Bolaji Harris
said
over 8 years ago
Looks like the SDK for GameSparks was not included when Unity built the project. So I have included it and other required libraries . I no longer receive compilation or linkage errors however my app still does not receive push notifications. In fact I don't even get the pop-up asking me if I would like to allow it when I run the app.
C
Christian Gauthier
said
over 8 years ago
Answer
I don't know which version of Unity you're using, but in our project we're using 4.6 b21 and I had to follow the instructions here to make it work:
Bolaji Harris
I am working with Unity 4.5 and X-Code 6.1. The Instructions I found in the docs here, https://docs.gamesparks.net/howtos/push-notifications/how-to-configure-ios-push-notifications , don't seem to apply to the latest Unity3d build for X-Code.
I don't know which version of Unity you're using, but in our project we're using 4.6 b21 and I had to follow the instructions here to make it work:
https://chsxf.wordpress.com/2014/09/24/unity-pro-tip-2-ios-8-push-notifications/
Then in our main scene Start() function (or wherever you want the popup to show up) I coded this:
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCustomer Support
Hi Bolaji,
We can definitely look into this. Is there a paticular part where you can't progress or some sort of error message? Whatever details you can give would be great.
Shane
Bolaji Harris
Sure Shane,
First of all the instructions ask you to edit AppDelegate.mm, but that does not exist in my project. Instead the functions that we are asked to modify exist in UnityAppController.mm.
After making the modifications in UnityAppController.mm I get the error the GSApi is undefined. Since I don't know Objective C or Xcode very well. I do not know how to include that library or file and correct that error.
Bolaji Harris
Looks like the SDK for GameSparks was not included when Unity built the project. So I have included it and other required libraries . I no longer receive compilation or linkage errors however my app still does not receive push notifications. In fact I don't even get the pop-up asking me if I would like to allow it when I run the app.
Christian Gauthier
I don't know which version of Unity you're using, but in our project we're using 4.6 b21 and I had to follow the instructions here to make it work:
https://chsxf.wordpress.com/2014/09/24/unity-pro-tip-2-ios-8-push-notifications/
Then in our main scene Start() function (or wherever you want the popup to show up) I coded this:
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics