KirisimaCreate備忘録

アプリ制作の備忘録とか思うことをつらつら...

KirisimaCreateが提供するアプリのプライバシーポリシー

KirisimaCreateが提供するアプリのプライバシーポリシーについて

■個人情報の収集 本アプリは、広告配信のためにGoogle広告、Google AdMob、利用状況の解析のためにGoogle Firebase Analyticsを使用しています。

■広告について 本アプリでは、広告配信を目的として以下の広告配信事業者がご利用者の情報を自動取得する場合がございます。取得する情報、利用目的、第三者への提供等につきましては、以下の広告配信事業者のアプリケーション・プライバシーポリシーのリンクよりご確認ください。

AdMob(Google Inc.) http://www.google.com/intl/ja/policies/technologies/ads/

Google 広告に関するポリシー https://policies.google.com/technologies/ads?hl=ja

■利用状況解析ついて 本アプリでは、今後の開発の参考とするため、アプリの利用状況データを収集するツールとしてFirebase(Google Inc.)を使用しており、Firebaseがご利用者の情報を自動取得する場合がございます。取得する情報、利用目的、第三者への提供等につきましては、以下のGoogleプライバシーポリシーのリンクよりご確認ください。

Google プライバシーポリシー https://policies.google.com/privacy?hl=ja

Privacy Policy

KirisimaCreate built the SlotMaschineIslandData app as a Free app. This SERVICE is provided by KirisimaCreate at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at SlotMaschineIslandData unless otherwise defined in this Privacy Policy.

Information Collection and Use

For a better experience, while using our Service, I may require you to provide us with certain personally identifiable information, including but not limited to Collection of personal information,Ad delivery,Usage analysis. The information that I request will be retained on your device and is not collected by me in any way.

The app does use third party services that may collect information used to identify you.

Link to privacy policy of third party service providers used by the app

Log Data

I want to inform you that whenever you use my Service, in a case of an error in the app I collect data and information (through third party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing my Service, the time and date of your use of the Service, and other statistics.

Cookies

Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers. These are sent to your browser from the websites that you visit and are stored on your device's internal memory.

This Service does not use these “cookies” explicitly. However, the app may use third party code and libraries that use “cookies” to collect information and improve their services. You have the option to either accept or refuse these cookies and know when a cookie is being sent to your device. If you choose to refuse our cookies, you may not be able to use some portions of this Service.

Service Providers

I may employ third-party companies and individuals due to the following reasons:

  • To facilitate our Service;
  • To provide the Service on our behalf;
  • To perform Service-related services; or
  • To assist us in analyzing how our Service is used.

I want to inform users of this Service that these third parties have access to your Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose.

Security

I value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and I cannot guarantee its absolute security.

Links to Other Sites

This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by me. Therefore, I strongly advise you to review the Privacy Policy of these websites. I have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.

Children’s Privacy

These Services do not address anyone under the age of 13. I do not knowingly collect personally identifiable information from children under 13. In the case I discover that a child under 13 has provided me with personal information, I immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact me so that I will be able to do necessary actions.

Changes to This Privacy Policy

I may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. I will notify you of any changes by posting the new Privacy Policy on this page.

This policy is effective as of 2020-12-09

Contact Us

If you have any questions or suggestions about my Privacy Policy, do not hesitate to contact me at c9.www5@gmail.com.

This privacy policy page was created at privacypolicytemplate.net and modified/generated by App Privacy Policy Generator

【Unity】Google Game Serviceの導入方法【Android/iOS】

GoogleGameServiceの導入でハマったポイントがあったので備忘録も兼ねて導入方法を解説していきたいと思います。

 ※Google Developer Consoleにて一通りの設定が済んでいる前提で進めていきます。

 導入環境

・Unity5.3.2f1

・xcode7.3

この記事を書いて一年以上経過しているので導入方法が変わっている可能性があります。 

 

github.com

こちらにアクセスしてzipをDLします。

DLが完了したら解凍しておいてください。

Unityを立ち上げプロジェクトを開き

Assets -> ImportPackage -> CustomPackage...を選択します

先ほど解凍したフォルダの中にcurrent-buildフォルダがあるのでその中のUnityPackageをImportします。

※過去のバージョンを使いたい場合はold-buildフォルダにUnityPackageがあります。 

ここからAndroidiOSで方法が異なってくるので解説を分けます

 

Androidの場合

Importが完了したら

Window -> Google play Service -> Downloads -> Google Game Services SDKを選択します

AndroidSDK Managerが起動するのでチェックが入っているものをDLします。

DLが完了したらUnityに戻り

Window -> Google Play Service -> Setup -> Android Setupを選択します。

Constans Class nameは適当な名前でいいと思います。(自分はleaderboardにしています)

次にGoogle Developer Consoleにアクセスしてゲームサービス>追加したゲームを選択します。 

実績やリーダーボードを選択してIDの下のほうにあるリソースを取得を選択してAndroidタブのコードをコピーします

Unityに戻りコピーしたコードをResourceDifinitionに貼り付けます。

Setupボタンをクリックして設定完了です。

あとはスクリプトにログイン処理を記述すれば利用できるようになります。

Androidは特に問題なく導入できるかと思います。

kirisimcreate.hateblo.jp

 

iOSの場合

さて、筆者が一番ハマったiOSでございます。

Unityでの設定はAndroidとさほど変わりませんが一応書いておきます。

Window -> Setup -> iOS setupを選択します。

Constans Class nameに適当な名前を入れます

Google Developer Consoleにアクセスしてゲームサービス>追加したゲームを選択します。 

リソースを取得をクリックしObjective-Cタブのコードをコピーします。

Unityに戻ってResourceDifinitionにコピーしたコードを貼り付けます。

ログイン処理などを書けば利用できるようになります。

次にxcodeでビルドするためにUnityで書き出してください。

 

※CocoaPodsを使いますのでインストールしておいてください。

インストールの方法が分からない場合はGoogle大先生に聞いていただければヒットすると思いますので頑張ってください(他人任せ)

Unityでビルドが完了したらターミナルを起動してxcodeのプロジェクトフォルダに移動します。

$ pod installを実行して必要なライブラリをインストールします。

※筆者は不安なので $ pod updateも実行しています。

このままBuildSettingsなどで一通り設定して実行すると筆者の環境だと

GIDSignIn.h file not found.

というエラーがでてビルドできませんでした。

このファイル自体は存在しているのに・・・謎です。 

 

解決方法

一度プロジェクトを閉じてください。

https://developers.google.com/identity/sign-in/ios/sdk/

1.こちらからGoogle Sign-InSDKをダウロードして展開します。

2.GoogleSignIn.frameworkGoogleSignIn.bundleをプロジェクトフォルダに追加します。

3.xcodeでプロジェクトを開き、General->Linked frameworkの+ボタンをクリックして左下にあるAdd Anotherをクリックします。先ほどプロジェクトフォルダにコピーしたGoogleSignIn.frameworkを選択して追加します。

4.Build Settings -> Build optionのEnable BitcodeをNoに変更します。

5.Build Settings -> LinkingのOther Linker Flagsに$(inherited)を追加します。

6.Build Phases -> Copy Bundle Resourcesの+ボタンをクリックしAdd Anotherをクリックします。プロジェクトフォルダに追加したGoogleSignIn.bundleを選択してください。するとダイアログが開きますのでCopy items if neededにチェックを入れてファイルを追加します。

7.エラー文をクリックして該当箇所を以下のように修正します

 

#import <GoogleSignIn/GIDSignIn.h>

#import <GoogleSignIn/GIDGoogleUser.h>

#import <GoogleSignIn/GIDAuthentication.h>

#import <GoogleSignIn/GIDProfileData.h>

 

修正したら忘れずに保存してください。

これで一度ビルドしてみましょう。

"clang: error: linker command failed with exit code 1 (use -v to see invocation)" 

このようなエラーでビルドできないはずです。

※追記※

ビルドエラーにならない場合があるようです。エラーにならなければファイルはそのままでOKです。

これを修正するためにGeneral->Linked frameworkの3.で追加したGoogleSignIn.frameworkを削除します。

もう一度ビルドする不思議なことにビルドが通ります。

確認して問題なければ終了です。お疲れ様でした。

 

※Unityもxcodeも初心者なので間違っているところがあるかも知れません。

ご指摘いただければ修正しますのでよろしくお願いします。

 

kirisimcreate.hateblo.jp