File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Assets/Thirdweb/Runtime/Unity Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,18 +19,18 @@ public class ThirdwebManager : ThirdwebManagerBase
1919
2020 protected override ThirdwebClient CreateClient ( )
2121 {
22- if ( string . IsNullOrEmpty ( ClientId ) )
22+ if ( string . IsNullOrWhiteSpace ( ClientId ) )
2323 {
2424 ThirdwebDebug . LogError ( "ClientId must be set in order to initialize ThirdwebManager. " + "Get your API key from https://thirdweb.com/create-api-key" ) ;
2525 return null ;
2626 }
2727
28- if ( string . IsNullOrEmpty ( BundleId ) )
28+ if ( string . IsNullOrWhiteSpace ( BundleId ) )
2929 {
3030 BundleId = null ;
3131 }
3232
33- BundleId ??= Application . identifier ?? $ "com.{ Application . companyName } .{ Application . productName } ";
33+ BundleId ??= string . IsNullOrWhiteSpace ( Application . identifier ) ? $ "com.{ Application . companyName } .{ Application . productName } " : Application . identifier ;
3434
3535 return ThirdwebClient . Create (
3636 clientId : ClientId ,
You can’t perform that action at this time.
0 commit comments