backendless / ios-sdk Goto Github PK
View Code? Open in Web Editor NEWiOS SDK
License: MIT License
iOS SDK
License: MIT License
I was getting duplicate symbol linker errors on a project that depended on Backendless and another pod that depended on Reachability.
Could you update the podspec for Backendless to use a build ignoring Reachability.{h,m} and depending on the Reachability pod?
When using cocoa pods to install Backendless, it installs version 0.0.1. How do you get the most recent version with pods?
my PodFile looks like this:
platform :ios, '9.3'
use_frameworks!
target 'MySwiftApp' do
pod 'Backendless'
end
I am currently implementing BackendLess and am having trouble as to how to sort a table by date descending.
I see the header for the QueryOptions class but it is not clear how to accomplish this typical request. Can you post some sample code? It would be greatly appreciated.
#import <Foundation/Foundation.h>
@interface QueryOptions : NSObject <NSCopying>
@property (strong, nonatomic) NSNumber *pageSize;
@property (strong, nonatomic) NSNumber *offset;
@property (strong, nonatomic) NSArray *sortBy;
@property (strong, nonatomic) NSMutableArray *related;
@property (strong, nonatomic) NSNumber *relationsDepth;
-(id)initWithPageSize:(int)_pageSize offset:(int)_offset;
+(id)query;
+(id)query:(int)_pageSize offset:(int)_offset;
-(QueryOptions *)pageSize:(int)_pageSize;
-(QueryOptions *)offset:(int)_offset;
-(QueryOptions *)sortBy:(NSArray *)_sortBy;
-(QueryOptions *)related:(NSArray *)_related;
-(NSDictionary *)getQuery;
-(BOOL)addRelated:(NSString *)_related;
-(BOOL)isEqualToQuery:(QueryOptions *)query;
@end
Hello, one question. Is possible to add headers on a email using this method or other method backendless.messaging sendHTMLEmail
Because we noticed that by default you are missing some important headers at the moment that your SDK send an email.
1.1 | MIME_HTML_ONLY | BODY: Message only has text/html MIME parts
1.4 | MISSING_DATE | Missing Date: header
-0.0 | NO_RECEIVED | Informational: message has no Received headers
I hope you can help me. Thanks.
I've used Backendless for macOS application. Is make sense to expect the support macOS in the SDK 4.0? It would be great to get some advice on the future like just a wait [how long?] or migrate to REST API or find a new BaaS :) etc.
thanks
I would like to connect to the API at a https API url (standalone). The server is configured correctly, I can connect to the https API in a browser with no problem. When I try to connect via my iOS app (latest SDK), this error is thrown:
Error: FAULT = '-1202' [NSURLErrorDomain] <The certificate for this server is invalid. You might be connecting to a server that is pretending to be “backend.myserver.com” which could put your confidential information at risk.>
I guess the issue is that my iOS app has no knowledge of the certificate. What is the correct way to load my .der certificate that I have saved into the app bundle, so that backendless can use it for authentication?
This is a pressing issue as Apple is making HTTPS mandatory for all apps until 12/31.
Thank you.
Hi Backendless Team,
I wanna using the Backendless in my project so I added into pod file:
pod 'Backendless-ios-SDK', '~>3.0.7'
but I got error:
[!] Unable to satisfy the following requirements:
Backendless-ios-SDK (~> 3.0.0)
required byPodfile
I f I remove the version then the install will be success but the version just 2.0.11 and it's too old. I checked the cocoapods folder in the repository and the spodpec is exist for the 3.0.7 version:
What can be the problem?
Thank you,
Robert
I am replacing Parse with BackendLess (ObjectiveC) on an iPhone app and when I install it via CocoaPods, I get 10 "no member named 'xxx' in the global namespace" errors in another library (AsyncDisplayKit) which is also using C++ functions.
I am using Xcode 7.2 building for iOS 9.2. When I remove Backendless-ios-SDK from the Podfile and run 'pod install' again, all the errors disappear and all is well. Is there something that I can do without rewriting C++ code? Thank you
When calling the NextPage method from the BackendlessCollection class, the queryOptions are overwritten.
Example on line 172 of the BackendlessCollection.m file, you have:
BackendlessDataQuery *dataQuery = [self.query copy]; dataQuery.queryOptions = [QueryOptions query:(int)_pageSize offset:(int)_offset];
If I have setup a related array or a SortBy, these would be lost after you re-initialize the queryOptions object.
When I'm trying to access 'message' property of a Fault object, the EXC_BAD_ACCESS is raised. NSZoombie helped to figure out that [CFString retain] sent to deallocated instance
Hi,
I have to develop two apps, one in OSX and one in IOS, was planning on using Backendless for both, but the setup on OSX fails. I'm following this guide for v3.x, and I installed v3.0.43 using cocoapods...
However, when I try to register an user on my OSX app, it crashes with this error:
Server reported an error (ASYNC): Optional(FAULT = '2002' [Version is disabled or provided wrong application info (application id or secret key)] <Version is disabled or provided wrong application info (application id or secret key)>
The guide for iOS worked like a charm (using v4.0b), although it does a different thing (inserts an object in a table, instead of registering a new user).
Any ideas? I'm using the same APP ID and "iOS API KEY" for both apps, should I not?
Is it possible to enforce additional permissions because the function does not seems to accept them.
The method is loginWithFacebookSdk. However the method easyLoginWithFacebookFieldsMapping does support permissions, but does not require the Facebook SDK.
In my app I don't want redirect with safari so I want to use directly the FB SDK.
A great enhancement will be add this parameter in loginWithFacebookSdk. My workaround now is to use directly the FB SDK and then create a new Backendless user.
On iOS 9.2 iPhone 4S simulator, the backend saves the schema of Bool and Int declared in a swift class into double types when auto-creating the table.
When I create the table with the online dashboard with the correct types, the iPhone 4S simulator running iOS 9.2 fails with the error: “Unable to save object - invalid data type for properties - Field1. You can change the property type in developer console.”
Neither of these problems appear when using the iPhone 6S simulator running iOS 9.2. This issue was experienced with a new Backendless App, fresh xcode project, and Pod install of the SDK.
Here is the class declaration:
class MyTable: BackendlessEntity {
var Field1: Bool = false
var Field2: Int = 42
override init() {
super.init()
}
}
and the code to create and save the object
let entity = MyTable()
let datastore = Backendless.sharedInstance().data.of(MyTable.ofClass())
datastore.save(entity, response: { (results: AnyObject!) -> Void in
print("saved")
}) { (fault: Fault!) -> Void in
print(fault.message)
}
Can I add the SDK in my project using Carthage?
Inferring from code here - there are quite a few updates/bugfixes that have yet to be released? Were you planning on releasing 2.0.9 through cocoapods? Latest version available through Cocoapods seems to be 2.0.2 =
Is the recommendation to utilize source releases? or is Cocoapods a supported option?
hi I wanted to know if you're adding tvOS support any time soon ?
I just thought that I would give a heads up that UIUserNotificationCategory
is deprecated is iOS 10.
I got the warning from MessagingService.h
on line 65.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.