Comments (2)
The validateAppRequestArgs is used to validate the inputs from the multiple app request methods on FB. If it was not nullable you could not validate the value from
https://github.com/facebook/facebook-sdk-for-unity/blob/master/Facebook.Unity/Assets/Facebook/Scripts/FB.cs#L363
Additionally it should not be nullable since you can't have an AppRequest with an og object but no action type.
from facebook-sdk-for-unity.
Ahh sorry, I missed that it was being used elsewhere!
The reason I even stumbled upon this, is because if I use OGActionType.SEND
and then have objectId = ""
it will throw an error (on Android at least). But if I pass OGActionType = null
(if I change so that OGActionType is actually nullable), it will actually work.
Maybe some logics with the !string.IsNullOrEmpty(...)
got messed up? (Can't try it out since I'm not at work any more)
from facebook-sdk-for-unity.
Related Issues (20)
- HideUnityDelegate not used on Android?
- InvalidCastException : Unable to cast object of type ‘EditorFacebook’ to type ‘AndroidFacebook’
- [Android] Auto-Logging Purchase Issue after upgrading to Play Billing Library 5 HOT 3
- DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead HOT 4
- Feature Request: Remove BOM from info.plist
- Library Conflict In unity
- Fetching profile picture results in empty texture2d HOT 1
- Exception: Too many receivers, total of 1000 HOT 1
- AndroidJavaException: java.lang.NoSuchMethodError: no static method with name='setIsUnityInit'
- FBUnityLoginActivity crash int java.lang.Enum.ordinal()' HOT 2
- Feature Request: Support App Privacy Manifest HOT 24
- missing Microsoft Xbox's build targets (using in 2020.3.x and higher) HOT 1
- [IOS] Unity Crashes on Startup with Deep Link Launch EXC_BAD_ACCESS (code=1, address=0x378) HOT 20
- Android 34 / FB SDK - can't build ( A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade ) HOT 6
- Login from developer account
- Feature Request: Request Newest Facebook SDKv17.0.0 for unity HOT 9
- Facebook SDK does not work with Unity 2023
- Feature Request: malloc deallocate buffer in iOS SDK
- iOS Graph API Calls using FB.API Fail in 17.0.0 HOT 1
- 17.0 build failed HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-sdk-for-unity.