Fix bug and then work with REST solution to return image

Đang Thực Hiện Đã đăng vào Dec 15, 2014 Thanh toán khi bàn giao
Đang Thực Hiện Thanh toán khi bàn giao

Hi James,

As you have found a bug, this is to allow you to fix it in the project [url removed, login to view] (5651KB) and then do the work below as part of the original project.

Our X-Code developer has fallen ill and we have the desperate requirement to submit our app to iTunesConnect before the 22/12/14. For this project it has a fixed price of $700.

Your task will be to use integrate the full X-Code provided to work with the REST solution below on the test server and demonstrate the solution then apply the same solution to the final production environment over a secure https connection (certificate is installed). PHP code will also be made available on github for referencing and a knowledge of Drupal 7.3 is preferable. Work must be completed on time.

We have a completed app written in Objective C / X Code for iOS. It uses a simple image capture and submit to the server where an object in the image is decoded to create a login ID, this is coupled with our user's submitted PIN that logs into the Drupal site on the fly to return an image of the user's face.

Previously the use of a cURL request to login and return the image was failing so our expert PHP developer (who you will be able to chat with directly) came up with the following solution which has been implement on the server side.

1. Send POST request to [url removed, login to view]

Header: "Content-Type : application/x-www-form-urlencoded"

Body: username={10digitcode}&password={4digitpin}

if response code 200 continue

2. Retrieve token

Send POST request to "[url removed, login to view]"

returns token string. Save this for use in headers later

3. Find user details

Send POST request to

"[url removed, login to view]"

Header: "X-CSRF-Token : {long token string}"

This will return all of the user details for the user currently logged in. We need to save the uid.

response will look something like this

{

result:{

user:{

uid:{User id in here}

}

}

}

4. Find profile picture information

Send GET request to "[url removed, login to view]{uid}"

This will return the information about the profile picture of the user (file id, file name, uri)

We need to save the uri, will have the format "private://url_string"

5.

Finally we do a GET request on [url removed, login to view]{uri}

Depending on how IOS interprets this page it will either return a base 64 image string or the actual image.

If you need to store some sort of cookie in the app that is not the "X-CSRF-Token" there is a session variable returned in the response of "[url removed, login to view]"

-----------

There is also a Drupal IOS SDK that is worth looking at [url removed, login to view]

Thank you for the many outstanding applications. Interviewees have been shortlisted and interviews are being performed now.

Drupal iPhone Mobile App Development Objective C PHP

ID dự án: #6870488

Về dự án

2 đề xuất Dự án từ xa Dec 15, 2014 đang mở

2 freelancer chào giá trung bình$775 cho công việc này

meet2amitvw

Let's discuss over freelancer Personal Message Box for the proper estimation of cost and time. I am myself doing programming so you will directly work with one person and that's me. No mediators. No managers. No sub Thêm

$773 AUD trong 10 ngày
(97 Nhận xét)
8.4
automnberry106

Hi. How are you? I'm a mobile app developer with 5 years app development experience and 2 years experience in freelancing with over 15+ US/Europe clients. I can speak/write fine English, you will find it very easy Thêm

$777 AUD trong 10 ngày
(0 Nhận xét)
0.0