<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Puja Kumari on Medium]]></title>
        <description><![CDATA[Stories by Puja Kumari on Medium]]></description>
        <link>https://medium.com/@pujakumari_50440?source=rss-59da0746ad4f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*M_P3PYkHE1O8CbUKWAo0Pg.jpeg</url>
            <title>Stories by Puja Kumari on Medium</title>
            <link>https://medium.com/@pujakumari_50440?source=rss-59da0746ad4f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 15:28:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pujakumari_50440/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[LogIn To App Via FaceBooK Using AWS Cognito]]></title>
            <link>https://medium.com/@pujakumari_50440/login-to-app-via-facebook-using-aws-cognito-30283e020c53?source=rss-59da0746ad4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/30283e020c53</guid>
            <category><![CDATA[aws-cognito]]></category>
            <category><![CDATA[face]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Puja Kumari]]></dc:creator>
            <pubDate>Thu, 30 Aug 2018 03:50:33 GMT</pubDate>
            <atom:updated>2018-08-30T03:51:05.730Z</atom:updated>
            <content:encoded><![CDATA[<p>Amazon Cognito is a managed service that enables you to integrate a flexible and scalable user management system into your web and mobile applications. Cognito provides two distinct ways to utilize the service: federated identities, which allow for log-in via social networks such as Facebook, and user pools, which give you completely custom user management capabilities for a specific app or suite of applications.</p><h3>Creating An Identity Pool</h3><p>The first step in integrating an identity pool into your mobile application is to create a Cognito IdentityPool. This will give us the configuration values needed to plug into our example application. To create a new identity pool, walk through the wizard provided in <a href="https://console.aws.amazon.com/cognito/home">Amazon’s Cognito console</a>. Let’s walk through the process of creating it.</p><h4>Cognito Identity Pool</h4><p>The process of creating new Cognito Pool is pretty straightforward (assuming you’ve already got <a href="https://developers.facebook.com/">Facebook App</a> configured):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jUe7Bgkzc4CTOVRRsos-Ww.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gLvxJIJ564_1rbmkUGz0Tg.png" /></figure><p>Note, by default each new Identity Pool is going to have two roles associated with it, one for Unauthenticated and one for Authenticated users.</p><p>If you plan to have multiple Identity Pools (for example a separate pool per dev/stage/prod environment) you might want to specify existing roles. For now, we will keep it as it is, since we will update those roles later.</p><p>Setup Facebook Login in Your Mobile App</p><p>Android — JavaAndroid — Kotlin<strong>iOS — Swift</strong></p><ol><li>Add or update your AWS backend configuration file to incorporate your new sign-in. For details, see the last steps in the <a href="https://docs.aws.amazon.com/aws-mobile/latest/developerguide/getting-started.html#add-aws-mobile-sdk-basic-setup">Get Started: Set Up Your Backend</a> section.</li><li>Install Xcode 8+ and create new project</li><li>Go to root folder of your project and run this command “amplify init” from your editor after that run amplify push it will update all your changes on cloud.</li><li>After step 3 you will get one awsconfiguration.json file which you have to attach in your project .</li><li>Add following dependencies in your podfile.</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fa8f276f2678636233ddc0bd8e7b3abb/href">https://medium.com/media/fa8f276f2678636233ddc0bd8e7b3abb/href</a></iframe><p>6. Run pod install</p><p>The key concept of authentication with Cognito, from a developer point of view, is pretty simple: We need to get a token from our authentication provider (Facebook or OpenId) and pass it through to AWS default configuration via <strong>AWSCognitoCredentialsProvider</strong>. This token will eventually be exchanged to session attributes and identity.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a16f0641fb0ba5cd8574c671767cb8ce/href">https://medium.com/media/a16f0641fb0ba5cd8574c671767cb8ce/href</a></iframe><p><strong>Note:</strong> You can set <em>defaultServiceConfiguration</em> only once, any subsequent setters are ignored. What we are missing here is an instance of <strong>AWSIdentityProviderManager</strong>:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fab72399b2b32a2d7be6cd72920fa556/href">https://medium.com/media/fab72399b2b32a2d7be6cd72920fa556/href</a></iframe><p>The only purpose of this class is to wrap-up token into dictionary. The dictionary should contain only 1 entry:</p><pre>[ “&lt;Linked Login Provide Id&gt;” : “&lt;Token&gt;”]</pre><p><strong>&lt;Linked Login Provide Id&gt;</strong> identifies type of provider we use (<a href="http://docs.aws.amazon.com/cognito/latest/developerguide/external-identity-providers.html">more info</a>):</p><ul><li><strong>Facebook</strong>: “graph.facebook.com”</li><li><strong>Twitter</strong>: “api.twitter.com”</li><li><strong>Google</strong>: “accounts.google.com”</li><li><strong>User Pool</strong>: “cognito-idp.<em>&lt;region&gt;</em>.amazonaws.com/&lt;USERPOOLID&gt;”</li></ul><p>Ok, but what’s <strong>&lt;Token&gt; </strong>in this case? Here’s an example how this dictionary might look like for Facebook login case:</p><pre>[“graph.facebook.com” : FBSDKAccessToken.current().tokenString]</pre><p>Here’s a final piece of code, which you could copy/paste and try login user via Facebook:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0af7073f1ba84a6d9d35c727b6a05b78/href">https://medium.com/media/0af7073f1ba84a6d9d35c727b6a05b78/href</a></iframe><h3>Enable Sign-out</h3><p>To initiate a sign-out, add a call to AWSSignInManager.sharedInstance().logout.</p><pre>@IBAction func signOutButtonPress(_ sender: Any) {</pre><pre>    AWSSignInManager.sharedInstance().logout(completionHandler: {(result: Any?, error: Error?) in<br>        self.showSignIn()<br>        <em>// print(&quot;Sign-out Successful: \(signInProvider.getDisplayName)&quot;);</em></pre><pre>    })<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30283e020c53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apptentive (Use mobile experiences to develop meaningful relationships with your customers)]]></title>
            <link>https://medium.com/@pujakumari_50440/apptentive-use-mobile-experiences-to-develop-meaningful-relationships-with-your-customers-8705a50a03ca?source=rss-59da0746ad4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8705a50a03ca</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Puja Kumari]]></dc:creator>
            <pubDate>Fri, 10 Aug 2018 10:29:13 GMT</pubDate>
            <atom:updated>2018-08-10T10:38:42.044Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s a software which creates a beautiful experience for companies so that they would not just start a conversation with their customers, but also listen to them &amp; respond accordingly, and use insights gained to build a more customer-centric app and company.</p><p><strong>It’s not just another software in the market. It’s more than that!!!</strong></p><p>Use mobile experience to develop a meaningful relationship with your customer. Have two-way conversation with your customer directly in your app. Gather feedback, solve problems, and build relationships with your customers, on your terms.</p><p><strong>Use Apptentive features to improve your app’s App Store ratings, collect and respond to customer feedback, show surveys at specific points within your app, and many more.</strong></p><h3>Apptentive iOS SDK Install Guide</h3><h3>1. Add Apptentive</h3><p>There are several options for adding the Apptentive SDK to your app. The easiest method is to use CocoaPods. If you would like to use another integration method, please see apptentive <a href="http://learn.apptentive.com/knowledge-base/ios-integration-reference/">iOS Integration</a> guide.</p><h3>CocoaPods</h3><p>You will need a recent version of <a href="https://guides.cocoapods.org/using/getting-started.html#installation">CocoaPods</a>, a text editor, and a basic familiarity with the Terminal app. If you aren’t already using CocoaPods for your app, start by opening up the Terminal app and navigating to the directory that contains your app’s .xcodeprojfile. Then run pod init to create a <strong>Podfile</strong> for your app.</p><p>Open your app’s Podfile with your favorite text editor, and add an entry for Apptentive:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/315c821ec6ab7b57ff806e9315d7534d/href">https://medium.com/media/315c821ec6ab7b57ff806e9315d7534d/href</a></iframe><p>Then, in the same directory as your Podfile, run pod install in the Terminal app. Finish by opening up the .xcworkspace file created by CocoaPods.</p><h3>2. Initialize Apptentive</h3><p>When your app starts, it will need to initialize the Apptentive SDK.</p><p>First, you’ll need to import the Apptentive SDK, and then create a configuration object with your Apptentive App Key and Apptentive App Signature (found in the <a href="https://be.apptentive.com/apps/current/settings/api">API section of your Apptentive dashboard</a>).</p><p>Register Apptentive with that configuration object. Finally, set your app’s iTunes Store ID. We recommend doing this in your application delegate’s application(_:didFinishLaunchingWithOptions:)method:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d01659bfa38575817cad8d69de3c3c0f/href">https://medium.com/media/d01659bfa38575817cad8d69de3c3c0f/href</a></iframe><h4>Make sure you use the Apptentive App Key and Apptentive App Signature for the iOS app you created in the Apptentive console. Sharing these credentials in two apps, or using ones from the wrong platform is not supported, and will lead to incorrect behavior.</h4><h3><strong>Why Apptentive ?</strong></h3><p>Apptentive tools help you identify who to talk to, select the right activation method, and drive your customers to take high-value actions.</p><p><strong><em>Use these features to proactively engage at smart times:</em></strong></p><h3>1.Message Center</h3><p>Turn your app into a communication channel.Customers expect to communicate with you directly from your app. Give them an outlet to give feedback without asking them to leave the app. Mobile engagement is more impactful when it’s personal and proactive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*TI5EHLG0g9MBRTXd-FhH7Q.png" /></figure><h3>Add Message Center In Your APP</h3><p>Find a place in your app for a button that will launch Message Center. This will allow customers to contact you with feedback, or questions if they are having trouble using your app, as well as allow them to see your responses.</p><p>If Message Center is available, show a UIButton or UITableViewCell that will launch it when tapped. This example assumes you have an UIViewController subclass called SettingsViewController that has a UIButton you would like to open Message Center with.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0ffcfee5fdb41b969b5c5670f24358ee/href">https://medium.com/media/0ffcfee5fdb41b969b5c5670f24358ee/href</a></iframe><h3>2.Ratings Prompts</h3><h4>Drive more ratings and reviews from the right audiences with our targeting.</h4><p>Prompt the right customers at the right time and place within your app on Android, and leverage Apple’s Rating Prompt on iOS with our advanced targeting capabilities. Control which customers receive Ratings Prompts, where they appear in the app, and how often individuals are prompted. This helps diminish annoyance rates, while increasing response rates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*Ib6SdVFmp0opQd2N91Un-A.png" /></figure><h3>3.Notes</h3><h4>Inspire your customers to take action.</h4><p>Use a Note to highlight new features, invite customers to take a survey, encourage app version upgrades, share a new piece of content, acknowledge if something goes wrong, make announcements, and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*K6GhJfKrKEwo89YOiA6IRA.png" /></figure><h3>4.Surveys</h3><h4>Learn more about your customers to better serve their needs.</h4><p>Apptentive’s Surveys are simple, easy to implement, and can be changed without updating your app. Collect quantitative data and qualitative information with a tap. Optimized for mobile and coupled with in-depth targeting, Apptentive’s surveys allow you to gather thousands of responses in a short amount of time in order to make data-driven decisions faster than ever.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*P9SmzOE9yOQMw7SEnHFzag.png" /></figure><h3>5. <strong>REPORTING &amp; ANALYTICS</strong></h3><p><strong>Actionable data at your fingertips</strong></p><p>The Apptentive dashboard provides key insights into these attributes — who your customers are, what they care about, and how to talk with them. Utilize the data to communicate more personally and more effectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*9V9ymmYwoWJyjnKMIAd4FA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*mXXVcftqbJKBG-4KATQl_g.png" /></figure><h4><strong>With its features &amp; analytics, it helps brand retain more users &amp; convert passive users to active users, make product &amp; marketing decisions much faster based on customer data. Also Increases no of downloads of app.</strong></h4><p>Thanks for reading it ..Many more to come :-)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8705a50a03ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beacons For Beginners (iOS) Part-1]]></title>
            <link>https://medium.com/@pujakumari_50440/beacons-for-beginners-ios-part-1-9ac0a6ca28a?source=rss-59da0746ad4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ac0a6ca28a</guid>
            <category><![CDATA[beacons]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Puja Kumari]]></dc:creator>
            <pubDate>Thu, 09 Aug 2018 11:10:03 GMT</pubDate>
            <atom:updated>2018-08-14T00:56:17.171Z</atom:updated>
            <content:encoded><![CDATA[<p>Beacons are small objects placed around venues which emit <strong>low energy Bluetooth signals</strong>, creating an interactive network for event app users.</p><p>It is a BLE hardware capable of advertising data at regular intervals. A smartphone can listen to a beacon and get data from the beacon without a physical connection. This means that a smartphone can listen to a lot of beacons at the same time, getting all the nearby data quickly and easily.This connection-less data transfer is the biggest strength of the beacons.</p><p>The major beacon hardware present in the market are <strong>Estimote, Gimbal, Gelo, Glimworm, BlueSense, and Kontakt</strong>. Among these,<strong> Estimote</strong> is one of the largest and most well-known manufacturers of beacon hardware.</p><p>Each beacon consists of a region which is defined in terms of the combination of <strong>UUID, Major and Minor</strong> of a beacon.When deploying your Beacon hardware, you must program each Beacon with an appropriate <strong>proximity UUID, major value, and minor</strong> value. These values identify each of your beacons uniquely and make it possible for your app to differentiate between those beacons later.Let’s discuss these parameters in detail</p><p><strong>1.) UUID(16 bytes):</strong>Application developers should define a UUID specific to their app and deployment use case.</p><p><strong>2.)Major ( 2 bytes)</strong> — Further specifies a specific iBeacon and use case. For example, this could define a sub-region within a larger region defined by the UUID.</p><p><strong>3.)Minor (2 bytes)</strong>: Allows further subdivision of region or use case, specified by the application developer.</p><h3>Detect any beacon in swift</h3><p><strong>Step :- 1 Changes in info.plist</strong></p><p>In info.plist you need to change the “usage description” . For that add the <strong>NSLocationAlwaysUsageDescription</strong> with String type with your Message in it.</p><p><strong>Step :- 2 For Background Mode</strong></p><p>Add the Following Piece of Code in App Delegate :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f6be4e30777b6dff3a11cfddd7084693/href">https://medium.com/media/f6be4e30777b6dff3a11cfddd7084693/href</a></iframe><blockquote><em>Also Don’t Forget to </em><strong><em>add</em></strong><em> </em><strong><em>CLLocationManagerDelegate</em></strong><em> and </em><strong><em>import </em></strong><strong><em>CoreLocations</em></strong><em> and </em><strong><em>UserNotifications</em></strong></blockquote><p><strong>Step :- 3 For ForeGround or Active Mode</strong></p><p>Add the Following Piece of Code in ViewController</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e9a4cdd8306901dcc1da53fc40e78479/href">https://medium.com/media/e9a4cdd8306901dcc1da53fc40e78479/href</a></iframe><blockquote><strong><em>Note :- You Need To change your Beacon </em></strong><strong><em>UUID and Major and Minor Value accordingly</em></strong></blockquote><p>Thanks for reading it …Beacons Part -2 for advance is coming soon.</p><h4>More where this came from</h4><p>This story is published in <a href="http://blog.usejournal.com/">Noteworthy</a>, where thousands come every day to learn about the people &amp; ideas shaping the products we love.</p><p>Follow our publication to see more product &amp; design stories featured by the <a href="https://usejournal.com/?utm_source=usejournal.com&amp;utm_medium=blog&amp;utm_campaign=guest_post">Journal</a> team.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ac0a6ca28a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>