assaf / node-passbook

iOS Passbook for the Node hacker
MIT License
280 stars 73 forks source link

Question - Need help with saved pass #13

Closed RayKahn closed 9 years ago

RayKahn commented 10 years ago

Hi there

I am using your passbook package and have created a coupon pass and saved to my server. However, I am not sure how to push/return that saved pass to a user when it is requested. Here is a sample of code when I save the pass:

. . . var file = File.createWriteStream(passBookFilePath); pass.pipe(file); . . .

My problem is that after creating this pass I would like to return this pass when a user clicks on a link from his/her iOS app. Really appreciate any help in this matter.

Thanks

assaf commented 10 years ago

Web server?

On Sun, Jan 26, 2014 at 12:01 PM, LuxiTouch Repository notifications@github.com wrote:

Hi there I am using your passbook package and have created a coupon pass and saved to my server. However, I am not sure how to push/return that saved pass to a user when it is requested. Here is a sample of code when I save the pass: . . . var file = File.createWriteStream(passBookFilePath); pass.pipe(file); . . . My problem is that after creating this pass I would like to return this pass when a user clicks on a link from his/her iOS app. Really appreciate any help in this matter.

Thanks

Reply to this email directly or view it on GitHub: https://github.com/assaf/node-passbook/issues/13

RayKahn commented 10 years ago

Yes. But it acts as an application server. It is node/express server. On Jan 26, 2014 1:13 PM, "Assaf Arkin" notifications@github.com wrote:

Web server?

On Sun, Jan 26, 2014 at 12:01 PM, LuxiTouch Repository notifications@github.com wrote:

Hi there I am using your passbook package and have created a coupon pass and saved to my server. However, I am not sure how to push/return that saved pass to a user when it is requested. Here is a sample of code when I save the pass: . . . var file = File.createWriteStream(passBookFilePath); pass.pipe(file); . . . My problem is that after creating this pass I would like to return this pass when a user clicks on a link from his/her iOS app. Really appreciate any help in this matter.

Thanks

Reply to this email directly or view it on GitHub: https://github.com/assaf/node-passbook/issues/13

— Reply to this email directly or view it on GitHubhttps://github.com/assaf/node-passbook/issues/13#issuecomment-33330627 .

RayKahn commented 10 years ago

It returns json objects only. No him. On Jan 26, 2014 1:13 PM, "Assaf Arkin" notifications@github.com wrote:

Web server?

On Sun, Jan 26, 2014 at 12:01 PM, LuxiTouch Repository notifications@github.com wrote:

Hi there I am using your passbook package and have created a coupon pass and saved to my server. However, I am not sure how to push/return that saved pass to a user when it is requested. Here is a sample of code when I save the pass: . . . var file = File.createWriteStream(passBookFilePath); pass.pipe(file); . . . My problem is that after creating this pass I would like to return this pass when a user clicks on a link from his/her iOS app. Really appreciate any help in this matter.

Thanks

Reply to this email directly or view it on GitHub: https://github.com/assaf/node-passbook/issues/13

— Reply to this email directly or view it on GitHubhttps://github.com/assaf/node-passbook/issues/13#issuecomment-33330627 .