Giter VIP home page Giter VIP logo

ios-sdk's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios-sdk's Issues

Podspec should depend on Reachability.

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?

pod 'Backendless' installs version 0.0.1?

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

QueryOptions sortBy?

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

HEADERS MAIL

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.

SDK 4.x - macOS support?

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

Does not connect to https URLs on standalone servers

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.

CocoaPods install error

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 by Podfile

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:

https://github.com/Backendless/ios-SDK/blob/master/CocoaPods/Backendless-ios-SDK/3.0.7/Backendless-ios-SDK.podspec

What can be the problem?

Thank you,
Robert

Installing BackendLess via CocoaPods generates multiple build errors

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

BackenlessCollection NextPage queryOptions are lost

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.

Getting EXC_BAD_ACCESS after ~1 min

Hi. I have a problem with the latest version of the SDK. After about one minute of using application I get EXC_BAD_ACCESS with reason “-[BodyHolder body]: message sent to deallocated instance”. Stacktrace on screenshot (without NSZombie):
screenshot 2016-07-03 00 40 07

OSX Support?

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?

Add permission parameter in loginWithFacebookSdk

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.

Failure to save Bool running iOS 9.2 simulator iPhone 4S in Swift

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)
}

Newer API updates pushed to Cocoapods?

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?

tvOS Support??

hi I wanted to know if you're adding tvOS support any time soon ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.